diff options
author | Wim <wim@42.be> | 2019-02-17 21:49:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 21:49:45 +0100 |
commit | 0bcb0b882f8f49d9ae889165dc4478d1168e1f25 (patch) | |
tree | e9c23f4f07c46081e12f11e284ec5a39928138ab /bridge/discord/discord.go | |
parent | 4525fa31aa6ea595c93994b05a3a042965249100 (diff) | |
download | matterbridge-msglm-0bcb0b882f8f49d9ae889165dc4478d1168e1f25.tar.gz matterbridge-msglm-0bcb0b882f8f49d9ae889165dc4478d1168e1f25.tar.bz2 matterbridge-msglm-0bcb0b882f8f49d9ae889165dc4478d1168e1f25.zip |
Support join/leaves from discord. Closes #654 (#721)
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index d74ed6a6..bc33796c 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -75,6 +75,8 @@ func (b *Bdiscord) Connect() error { b.c.AddHandler(b.memberUpdate) b.c.AddHandler(b.messageUpdate) b.c.AddHandler(b.messageDelete) + b.c.AddHandler(b.memberAdd) + b.c.AddHandler(b.memberRemove) err = b.c.Open() if err != nil { return err |