feat: leveling system

This commit is contained in:
FernandoJVideira committed 2026-03-17 15:35:25 +00:00
1 parent 2bce787c05
commit 8ba26f8bb9
9 files changed
+271 -381

No files matched your search

+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) {