This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
PermissionGacha/messageCreate.go

13 lines
215 B
Go

2019-11-17 14:47:34 +07:00
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
}