From 04e0f001b014ec32680305252268289c48bb98f1 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 16 Jul 2017 14:39:00 +0200 Subject: Fix discordgo api changes --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord') 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 -- cgit v1.2.3