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

32 lines
541 B
Go

package commands
import "github.com/bwmarrin/discordgo"
type command struct {
Name string
Handler func(s *discordgo.Session, args []string, m *discordgo.MessageCreate) error
}
var list = []command{
command{
Name: "level",
Handler: handleLevelCommand,
},
command{
Name: "shard",
Handler: handleShardCommand,
},
command{
Name: "prestige",
Handler: handlePrestigeCommand,
},
command{
Name: "star",
Handler: handleStarCommand,
},
command{
Name: "version",
Handler: handleVersionCommand,
},
}