feat: joke & dice command

This commit is contained in:
2026-03-17 16:34:12 +00:00
parent a664ae15fd
commit dee5008c60
9 changed files with 1045 additions and 8 deletions
+8 -2
View File
@@ -10,6 +10,9 @@ import (
var AllCommands = []*discordgo.ApplicationCommand{
fun.Ping,
fun.Joke,
fun.Coinflip,
fun.Dice,
help.Help,
cmdlevel.Slvl,
cmdlevel.Rank,
@@ -18,8 +21,11 @@ var AllCommands = []*discordgo.ApplicationCommand{
}
var handlers = map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate){
"ping": fun.PingHandler,
"help": help.HelpHandler,
"ping": fun.PingHandler,
"joke": fun.JokeHandler,
"coinflip": fun.CoinflipHandler,
"dice": fun.DiceHandler,
"help": help.HelpHandler,
"slvl": cmdlevel.SlvlHandler,
"rank": cmdlevel.RankHandler,
"leaderboard": cmdlevel.LeaderboardHandler,