HIMBOT RETURNS
This commit is contained in:
37
main.go
37
main.go
@ -51,28 +51,24 @@ var (
|
||||
Name: "himboard",
|
||||
Description: "View the himbucks leaderboard",
|
||||
},
|
||||
{
|
||||
Name: "syncbucks",
|
||||
Description: "Sync your himbucks balance with the database",
|
||||
},
|
||||
{
|
||||
Name: "sendbucks",
|
||||
Description: "Send himbucks to another user",
|
||||
Options: []*discordgo.ApplicationCommandOption{
|
||||
{
|
||||
Type: discordgo.ApplicationCommandOptionUser,
|
||||
Name: "user",
|
||||
Description: "The user to send himbucks to",
|
||||
Required: true,
|
||||
},
|
||||
{
|
||||
Type: discordgo.ApplicationCommandOptionInteger,
|
||||
Name: "amount",
|
||||
Description: "Amount of himbucks to send",
|
||||
Required: true,
|
||||
MinValue: &[]float64{1}[0],
|
||||
},
|
||||
},
|
||||
Description: "Send himbucks to another user",
|
||||
Options: []*discordgo.ApplicationCommandOption{
|
||||
{
|
||||
Type: discordgo.ApplicationCommandOptionUser,
|
||||
Name: "user",
|
||||
Description: "The user to send himbucks to",
|
||||
Required: true,
|
||||
},
|
||||
{
|
||||
Type: discordgo.ApplicationCommandOptionInteger,
|
||||
Name: "amount",
|
||||
Description: "Amount of himbucks to send",
|
||||
Required: true,
|
||||
MinValue: &[]float64{1}[0],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@ -82,7 +78,6 @@ var (
|
||||
"markov": lib.HandleCommand("markov", 30*time.Second, command.MarkovCommand),
|
||||
"himbucks": lib.HandleCommand("himbucks", 5*time.Second, command.BalanceGetCommand),
|
||||
"himboard": lib.HandleCommand("himboard", 5*time.Second, command.LeaderboardCommand),
|
||||
"syncbucks": lib.HandleCommand("syncbucks", 1800*time.Second, command.BalanceSyncCommand),
|
||||
"sendbucks": lib.HandleCommand("sendbucks", 1800*time.Second, command.BalanceSendCommand),
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user