summaryrefslogtreecommitdiffstats
path: root/bridge/discord/webhook.go
Commit message (Collapse)AuthorAgeFilesLines
* Return a message ID when sending with a webhook (discord) (#1976)Joseph Mansy2023-03-141-5/+11
| | | Resolves #1975
* Switch to discordgo upstream again (#1759)Wim2022-03-121-2/+2
| | | | | * Switch to upstream discordgo again * Fix discord api changes
* Add comments to messages (telegram) (#1652)Soloam2021-12-121-4/+2
| | | | | | | | | | | | | * Add's comments to message in telegram messages This is a change to handle comments in telegram messages! Some messages in telegram have comments added to the message! This normally is the description in images or links. This changes appends the comment to the message if available. This should fix the issue in #1649 * [fix] discord: send comments in extras Co-authored-by: Wim <wim@42.be>
* Add a MessageClipped option to set your own clipped message. Closes #1359 ↵Wim2021-05-271-1/+1
| | | | (#1487)
* discord: Add AllowMention to restrict allowed mentions (#1462)Alexandre GV2021-05-131-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | * Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers keys to config * Add basic AllowedMentions behavior to discord webhooks * Initialize b.AllowedMentions on Discord Bridger init * Call b.getAllowedMentions on each webhook to allow config hot reloading * Add AllowedMentions on all Discord webhooks/messages * Add DisablePingEveryoneHere/DisablePingRoles/DisablePingUsers to matterbridge.toml.sample * Change 'Disable' for 'Allow' and revert logic in Discord AllowedMentions * Update Discord AllowedMentions in matterbridge.toml.sample * Fix typo in DisableWebPagePreview * Replace 'AllowPingEveryoneHere' with 'AllowPingEveryone' * Replace 3 AllowPingEveryone/Roles/Users bools with an array * Fix typo
* Fix 'webook' typo in discord/webhook.go (#1344)Qais Patankar2020-12-311-1/+1
|
* Split Bdiscord.Send into handleEventWebhook and handleEventBotUser (discord)Qais Patankar2020-12-131-0/+45
|
* Move webhook specific logic to its own file (discord)Qais Patankar2020-12-131-0/+102