Skip to content

Commit

Permalink
removed debug messages, which created an index out of bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
matamegger committed May 23, 2017
1 parent 565a0e3 commit bc9f145
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit bc9f145

Please sign in to comment.