summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-16 14:39:00 +0200
committerWim <wim@42.be>2017-07-16 14:39:00 +0200
commit04e0f001b014ec32680305252268289c48bb98f1 (patch)
tree83047d3e762bdf8617704dfba522064f04d17d7a
parent5db24aa90163839d0deebc4062d84aa4222bd50a (diff)
downloadmatterbridge-msglm-04e0f001b014ec32680305252268289c48bb98f1.tar.gz
matterbridge-msglm-04e0f001b014ec32680305252268289c48bb98f1.tar.bz2
matterbridge-msglm-04e0f001b014ec32680305252268289c48bb98f1.zip
Fix discordgo api changes
-rw-r--r--bridge/discord/discord.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 14fc8615..e2e25989 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -71,7 +71,7 @@ func (b *bdiscord) Connect() error {
flog.Debugf("%#v", err)
return err
}
- guilds, err := b.c.UserGuilds()
+ guilds, err := b.c.UserGuilds(100, "", "")
if err != nil {
flog.Debugf("%#v", err)
return err