From 8a761118c582f7d5b1e7432ab4e43b0dd38200e3 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 16 Nov 2015 22:10:51 -0600 Subject: [PATCH] Update example to match idiomatic Go changes. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7db6aa3..a7c2b3e 100644 --- a/README.md +++ b/README.md @@ -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) } ```