summaryrefslogtreecommitdiffstats
path: root/bridge/discord
Commit message (Collapse)AuthorAgeFilesLines
* Replace @... string with user mention if match found (discord) (#492). ↵Jerry Heiselman2018-09-121-0/+46
| | | | | | Closes #460 * Added check for @-mention pattern and replacing it with a user with a matching Nick on incoming messages
* Use own forks for logrus-prefixed-formatter and discordgoWim2018-08-061-1/+1
|
* Clip too long messages sent to discord (discord). Closes #440Wim2018-07-221-0/+6
|
* Skip empty messages being sent with the webhook (discord). #469Wim2018-07-211-0/+4
|
* Add a space before url in file uploads (discord). Closes #461Wim2018-06-291-1/+1
|
* Fix previous commitWim2018-06-281-1/+1
|
* Allow join-leave and topic changes to webhook (discord)Wim2018-06-281-1/+1
|
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-091-3/+4
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Send mediaserver link to Discord in Webhook mode (discord) (#405)ValdikSS2018-04-171-0/+6
|
* Add channel debug (discord)Wim2018-03-171-0/+3
|
* Use viper (github.com/spf13/viper) for configurationWim2018-03-041-18/+19
|
* Improve debug messagesWim2018-02-281-6/+6
|
* Refactor using factoryWim2018-02-271-26/+19
|
* Make gometalinter happierWim2018-02-271-21/+21
|
* Skip events for webhookWim2018-02-271-0/+4
|
* Refactor discordWim2018-02-271-64/+82
|
* Use prefixed-formatter for better loggingWim2018-02-211-2/+2
|
* Move Sirupsen => sirupsenWim2018-02-201-1/+1
|
* Remove unused codeWim2018-02-151-18/+0
|
* 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.