summaryrefslogtreecommitdiffstats
path: root/bridge/discord
Commit message (Collapse)AuthorAgeFilesLines
* Use discordgo ContentWithMoreMentionsReplace (discord)Wim2018-02-141-4/+12
|
* Check for a valid WebhookURL (discord). Closes #367Wim2018-02-071-0/+3
|
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-0/+4
| | | | See #359
* Refactor and add MediaDownloadSize to GeneralWim2017-12-191-8/+3
|
* Add support for comments from slack file uploads (slack)Wim2017-11-131-1/+2
|
* Show error message when file upload fails (discord)Wim2017-11-041-3/+5
|
* Make megacheck happy againWim2017-11-031-6/+4
|
* Add support to upload files to discord, from bridges with private urls like ↵Wim2017-11-031-0/+18
| | | | slack/mattermost/telegram. (discord)
* Add support for deleting messages across bridges.Wim2017-09-111-0/+20
| | | | | | | | | | | | Currently fully support mattermost,slack and discord. Message deleted on the bridge or received from other bridges will be deleted. Partially support for Gitter. Gitter bridge will delete messages received from other bridges. But if you delete a message on gitter, this deletion will not be sent to other bridges (this is a gitter API limitation, it doesn't propogate edits or deletes via the API)
* Add support for editing messages across bridges. Currently mattermost/discord.Wim2017-08-281-15/+22
| | | | | | | | | | | | | | | | | | | | | | Our Message type has an extra ID field which contains the message ID of the specific bridge. The Send() function has been modified to return a msg ID (after the message to that specific bridge has been created). There is a lru cache of 5000 entries (message IDs). All in memory, so editing messages will only work for messages the bot has seen. Currently we go out from the idea that every message ID is unique, so we don't keep the ID separate for each bridge. (we do for each gateway though) If there's a new message from a bridge, we put that message ID in the LRU cache as key and the []*BrMsgID as value (this slice contains the message ID's of each bridge that received the new message) If there's a new message and this message ID already exists in the cache, it must be an updated message. The value from the cache gets checked for each bridge and if there is a message ID for this bridge, the ID will be added to the Message{} sent to that bridge. If the bridge sees that the ID isn't empty, it'll know it has to update the message with that specific ID instead of creating a new message.
* Modify Send() to return also a message idWim2017-08-271-3/+3
|
* Swap token/id. Also check for default webhookURL in isWebhookID (discord)Wim2017-08-121-3/+9
|
* Allow a webhookurl per channel (discord). #239Wim2017-08-121-21/+63
|
* Add UseUserName option (discord) (#234)anon7242017-08-011-1/+6
|
* Do not modify username in action (discord)Wim2017-07-311-7/+3
|
* Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199Wim2017-07-301-6/+27
|
* Fix discordgo api changesWim2017-07-161-1/+1
|
* Fix embeds (discord). Closes #202Wim2017-07-091-9/+17
|
* Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1Wim2017-06-291-1/+6
|
* Add more debugging (discord)Wim2017-06-261-5/+6
|
* Add webhook posting mode for discord. (#204)Sacha Aury - Wolfman2017-06-261-1/+27
| | | | | | | | | Using it implies to configure a Webhook on discord and set the parameter : - WebhookURL (New parameter, discord-specific) Discord API does not allow to change the name of the user posting, but webhooks does. This makes the relay much more elegant, even if we might lose some more advanced features. Signed-off-by: saury07 <sacha.aury@gmail.com>
* Add ShowEmbeds option (discord). #202Wim2017-06-241-1/+9
|
* Add UserID to each message. Closes #200Wim2017-06-181-1/+2
|
* Avoid nil in usermembermap (discord). See #198Wim2017-06-151-1/+2
|
* Add hashtag to channel (discord)Wim2017-06-031-2/+2
|
* Replace long ids in channel metions (discord). Fixes #174Wim2017-05-231-0/+20
|
* Fix possible crash on nil (discord)Wim2017-05-221-5/+7
|
* Add support for edited messages (discord)Wim2017-04-151-0/+13
|
* Strip custom emoji metadata (discord). Closes #148Wim2017-04-151-0/+8
|
* Replace role ids in mentions to role names (discord). Closes #133Wim2017-03-181-0/+15
| | | | | * The bot needs to have the "Manage Roles" permission for this to work. (see Server settings - Roles - General Permissions)
* Refactor to handle disconnects/reconnects better.Wim2017-02-141-0/+4
| | | | Now try to reconnect every 60 seconds until forever.
* Use nickname when present (discord). Closes #122Wim2017-02-131-8/+49
|
* Add bot tag to api if not specified (discord)Wim2016-11-141-0/+3
|
* RefactorWim2016-11-131-25/+6
|
* Add support for using avatars from discord,slack and gitter in slackWim2016-11-061-1/+1
|
* Add support for dynamic IconURL (slack). Closes #43Wim2016-11-051-1/+2
|
* Refactor modifyMessageWim2016-11-041-2/+2
|
* Use names instead of id's for mentions (discord). Fixes #66Wim2016-10-301-1/+1
|
* Add support for discord channel ID. See #57Wim2016-10-261-8/+22
|
* Ignore empty content from discord. Fixes #58Wim2016-10-261-0/+3
|
* Add support for discord attachments. Fixes #59Wim2016-10-261-0/+5
|
* Rename discord guild to server.Wim2016-10-231-1/+1
|
* Cleanup discord bridge debug/info messagesWim2016-09-201-1/+3
|
* Add the discord bridge for realWim2016-09-191-0/+128