Update example to match idiomatic Go changes.

This commit is contained in:
Bruce Marriner 2015-11-16 22:10:51 -06:00
parent ca590e6262
commit 8a761118c5

View file

@ -52,7 +52,7 @@ func main() {
}
func messageCreate(s *discordgo.Session, m discordgo.Message) {
fmt.Printf("%25d %s %20s > %s\n", m.ChannelId, time.Now().Format(time.Stamp), m.Author.Username, m.Content)
fmt.Printf("%25d %s %20s > %s\n", m.ChannelID, time.Now().Format(time.Stamp), m.Author.Username, m.Content)
}
```