summaryrefslogtreecommitdiffstats
path: root/bridge/discord
Commit message (Collapse)AuthorAgeFilesLines
* Support webhook message deletions (discord) (#853)Qais Patankar2019-07-082-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support webhook message deletions (discord) Messages sent via webhook can now be deleted. It seems it can do this without any special permissions. This copies discordgo.WebhookExecute and makes it support the returning of discordgo.Message. A pull request has been sent upstream, so we should use that if @bwmariin accepts the pull request: https://github.com/bwmarrin/discordgo/pull/663 Changes in behaviour (webhook mode only): - Previously messages *edited* on other platforms would just be retransmitted as a brand new message to Discord. - Message *edits* will now be ignored. - Debug: message edits will now print out a "permission error". In the future it may be good to send an "message edited" react to those webhook messages, so at least people know that the message was edited on other platforms. (Even though it can't actually show the new message.) Alternatively, message edits could just send a brand new message with a link back to the old one. This is a little ugly but it would ensure that Discord users are able to see the edited message. These "message edit notifications" would be sent from the bot user (not from a webhook), so we could edit the "edit notification" if subsequent edits to the original message are made.
* Support bulk deletions (discord)Qais Patankar2019-06-162-0/+22
|
* Allow messages from other bots (discord). Fixes #816Wim2019-05-011-1/+1
|
* Do not relay any bot messages (discord) (#743)Wim2019-02-281-1/+1
|
* Print errors as string instead of %#v (#738)Wim2019-02-262-4/+4
|
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-221-0/+3
|
* Support join/leaves from discord. Closes #654 (#721)Wim2019-02-172-0/+44
|
* Make discord user token work correctly (discord) #689Wim2019-01-191-2/+2
|
* Run go fmtWim2019-01-141-3/+3
|
* Allow to bridge non-bot Discord users (discord) (#689)Zomboy Alfrir2019-01-141-0/+5
| | | | | | If you prefix a token with `User ` it'll treat is as a user token. Co-Authored-By: zomboy-alfrir <zomboy@dancodes.com.ar>
* Use only one webhook if possible (discord) (#681)James Nylen2019-01-091-8/+42
|
* Add file comment to webhook messages (discord). Fixes #358Wim2019-01-071-1/+7
|
* Improve error reporting on failure to join Discord. Fixes #672 (#680)James Nylen2019-01-071-1/+15
|
* Disable some unparam checks (discord)Wim2018-12-071-3/+3
|
* Split Discord bridge in multiple files (#632)Duco van Amstel2018-12-074-257/+412
|
* Fix regression on using server ID (discord). #619 #617Wim2018-11-281-1/+2
|
* Limit discord username via webhook to 32 charsWim2018-11-231-0/+4
|
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-151-5/+5
|
* Switch back go upstream bwmarrin/discordgoWim2018-11-131-1/+1
| | | | Commit https://github.com/bwmarrin/discordgo/commit/ffa9956c9b41e8e2a10c26a254389854e016b006 got merged in.
* Make gocritic linter happyWim2018-11-081-1/+1
|
* Clean up various stuff (#508)David Hill2018-11-071-4/+11
| | | * various cleanups
* Fix mentions cuttíng off all text after the mention (discord) (#506)NikkyAI2018-09-291-1/+1
|
* Let webhook also replace mentions (discord). Closes #502Wim2018-09-221-0/+1
|
* Fix Discord mentions by populating the nickMemberMap at connect (#498)NikkyAI2018-09-171-1/+19
|
* 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
|