Ver Fonte

Update example to match idiomatic Go changes.

Bruce Marriner há 9 anos atrás
pai
commit
8a761118c5
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      README.md

+ 1 - 1
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)
 }
 ```