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

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
}