diff options
author | Sam W <sam@wlcx.cc> | 2022-06-24 22:50:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 23:50:48 +0200 |
commit | 5604d140e3bbf5c8f6c414b1427145a0c4e36bb4 (patch) | |
tree | c3f961196517917cc294e14dc650323772217183 /vendor/github.com/slack-go/slack/comment.go | |
parent | 8751fb4bb1eb7cd34ed63be9b3801b8aeac71a1d (diff) | |
download | matterbridge-msglm-5604d140e3bbf5c8f6c414b1427145a0c4e36bb4.tar.gz matterbridge-msglm-5604d140e3bbf5c8f6c414b1427145a0c4e36bb4.tar.bz2 matterbridge-msglm-5604d140e3bbf5c8f6c414b1427145a0c4e36bb4.zip |
Ignore events from other guilds, add nosendjoinpart support (discord) (#1846)
* discord: add nosendjoinpart support
This allows the discord bridge to be configured with `nosendjoinpart`,
preventing discord-originating join/part messages from being send to
other bridged platforms.
* discord: Ignore incoming events for other guilds
Ignore all incoming discord events originating from Guild IDs other than
the one we have configured.
This is necessary because discord bots receive events for *all* discord
guilds that they are present in.
Fixes #1612
Diffstat (limited to 'vendor/github.com/slack-go/slack/comment.go')
0 files changed, 0 insertions, 0 deletions