forked from pothtonswer/discordmuffin
Update example to match idiomatic Go changes.
This commit is contained in:
parent
ca590e6262
commit
8a761118c5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue