feat: leveling system
This commit is contained in:
@@ -14,6 +14,7 @@ var AllCommands = []*discordgo.ApplicationCommand{
|
||||
cmdlevel.LevelConfigCommand,
|
||||
cmdlevel.RankCommand,
|
||||
cmdlevel.LeaderboardCommand,
|
||||
cmdlevel.RewardsCommand,
|
||||
}
|
||||
|
||||
var handlers = map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate){
|
||||
@@ -22,6 +23,7 @@ var handlers = map[string]func(s *discordgo.Session, i *discordgo.InteractionCre
|
||||
"slvl": cmdlevel.HandleLevelConfig,
|
||||
"rank": cmdlevel.HandleRank,
|
||||
"leaderboard": cmdlevel.HandleLeaderboard,
|
||||
"rewards": cmdlevel.HandleRewards,
|
||||
}
|
||||
|
||||
func HandleInteraction(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||
|
||||
Reference in New Issue
Block a user