Fix
This commit is contained in:
9
main.go
9
main.go
@ -44,13 +44,17 @@ var (
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "balance",
|
||||
Name: "himbucks",
|
||||
Description: "Check your himbucks balance",
|
||||
},
|
||||
{
|
||||
Name: "leaderboard",
|
||||
Name: "himboard",
|
||||
Description: "View the himbucks leaderboard",
|
||||
},
|
||||
{
|
||||
Name: "syncbucks",
|
||||
Description: "Sync your himbucks balance with the database",
|
||||
},
|
||||
}
|
||||
|
||||
commandHandlers = map[string]func(s *discordgo.Session, i *discordgo.InteractionCreate){
|
||||
@ -59,6 +63,7 @@ var (
|
||||
"markov": lib.HandleCommand("markov", 30*time.Second, command.MarkovCommand),
|
||||
"balance": lib.HandleCommand("balance", 5*time.Second, command.BalanceCommand),
|
||||
"leaderboard": lib.HandleCommand("leaderboard", 5*time.Second, command.LeaderboardCommand),
|
||||
"syncbucks": lib.HandleCommand("syncbucks", 1800*time.Second, command.BalanceSyncCommand),
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user