summaryrefslogtreecommitdiffstats
path: root/bridge/discord/discord.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2019-06-16 00:15:18 +0100
committerWim <wim@42.be>2019-06-16 16:07:48 +0200
commit76c7b69e4e099dd80119f4ca1f2fac01aa2f31e6 (patch)
tree109aba86c988b5d412c4363ef9fd9772785cd06e /bridge/discord/discord.go
parenta5bd3c4dda4bcad22a7998af4be41374324182f9 (diff)
downloadmatterbridge-msglm-76c7b69e4e099dd80119f4ca1f2fac01aa2f31e6.tar.gz
matterbridge-msglm-76c7b69e4e099dd80119f4ca1f2fac01aa2f31e6.tar.bz2
matterbridge-msglm-76c7b69e4e099dd80119f4ca1f2fac01aa2f31e6.zip
Support bulk deletions (discord)
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r--bridge/discord/discord.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 49dfe4bc..ea43bd20 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -75,6 +75,7 @@ func (b *Bdiscord) Connect() error {
b.c.AddHandler(b.memberUpdate)
b.c.AddHandler(b.messageUpdate)
b.c.AddHandler(b.messageDelete)
+ b.c.AddHandler(b.messageDeleteBulk)
b.c.AddHandler(b.memberAdd)
b.c.AddHandler(b.memberRemove)
err = b.c.Open()