feat: leveling system

This commit is contained in:
2026-03-17 15:35:25 +00:00
parent 2bce787c05
commit 8ba26f8bb9
9 changed files with 271 additions and 381 deletions
+2
View File
@@ -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) {