From bc9f1451d2a311ad145a6b85c49a41814d90663f Mon Sep 17 00:00:00 2001 From: Matthias Tamegger Date: Tue, 23 May 2017 20:19:46 +0200 Subject: [PATCH] removed debug messages, which created an index out of bounds --- main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.go b/main.go index db9103d..38b2130 100644 --- a/main.go +++ b/main.go @@ -149,9 +149,6 @@ func SetupDiscordConnectionAndListener(token string) (discord *discordgo.Session } func onReady(s *discordgo.Session, event *discordgo.Ready) { - fmt.Println("pch", len(event.PrivateChannels)) - fmt.Println("channel", event.PrivateChannels[0].ID, event.PrivateChannels[0].Name, event.PrivateChannels[0].Recipient.Username) - fmt.Println("friends", event.Relationships) for _, s := range event.Settings.RestrictedGuilds { fmt.Println("rg", s) }