13 lines
215 B
Go
13 lines
215 B
Go
|
package main
|
||
|
|
||
|
import "github.com/bwmarrin/discordgo"
|
||
|
|
||
|
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||
|
if m.Author.Bot {
|
||
|
return
|
||
|
}
|
||
|
go incrementXP(s, m.Author.ID)
|
||
|
|
||
|
//TODO Handle commands
|
||
|
}
|