|
@@ -57,7 +57,7 @@ func main() {
|
|
|
|
|
|
// This function will be called (due to above assignment) every time a new
|
|
|
// message is created on any channel that the autenticated user has access to.
|
|
|
-func messageCreate(s *discordgo.Session, m discordgo.Message) {
|
|
|
+func messageCreate(s *discordgo.Session, m *discordgo.Message) {
|
|
|
|
|
|
// Print message to stdout.
|
|
|
fmt.Printf("%20s %20s %20s > %s\n", m.ChannelID, time.Now().Format(time.Stamp), m.Author.Username, m.Content)
|