5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 03:30:26 +00:00
matterbridge/bridge/discord
Sam W 5604d140e3
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
2022-06-24 23:50:48 +02:00
..
transmitter Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00
discord.go Ignore events from other guilds, add nosendjoinpart support (discord) (#1846) 2022-06-24 23:50:48 +02:00
handlers_test.go Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00
handlers.go Ignore events from other guilds, add nosendjoinpart support (discord) (#1846) 2022-06-24 23:50:48 +02:00
helpers_test.go Split Discord bridge in multiple files (#632) 2018-12-07 23:36:01 +01:00
helpers.go Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00
webhook.go Switch to discordgo upstream again (#1759) 2022-03-12 17:06:39 +01:00