4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-09 12:44:04 +00:00

Support join/leaves from discord. Closes #654 (#721)

This commit is contained in:
Wim
2019-02-17 21:49:45 +01:00
committed by GitHub
parent 4525fa31aa
commit 0bcb0b882f
3 changed files with 56 additions and 0 deletions

View File

@ -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