mirror of
https://github.com/idanoo/GoDiscMoji
synced 2025-07-01 18:32:15 +00:00
Tie it to kick user perms
This commit is contained in:
parent
b96e71c767
commit
631dc5775d
1 changed files with 8 additions and 5 deletions
|
@ -13,10 +13,12 @@ var (
|
||||||
integerOptionMinValue = 1.0
|
integerOptionMinValue = 1.0
|
||||||
amountKey = "amount"
|
amountKey = "amount"
|
||||||
|
|
||||||
commands = []*discordgo.ApplicationCommand{
|
defaultRunCommandPermissions int64 = discordgo.PermissionKickMembers
|
||||||
|
commands = []*discordgo.ApplicationCommand{
|
||||||
{
|
{
|
||||||
Name: "show-top-emojis",
|
Name: "show-top-emojis",
|
||||||
Description: "Show top emojis",
|
Description: "Show top emojis",
|
||||||
|
DefaultMemberPermissions: &defaultRunCommandPermissions,
|
||||||
Options: []*discordgo.ApplicationCommandOption{
|
Options: []*discordgo.ApplicationCommandOption{
|
||||||
{
|
{
|
||||||
Type: discordgo.ApplicationCommandOptionInteger,
|
Type: discordgo.ApplicationCommandOptionInteger,
|
||||||
|
@ -29,8 +31,9 @@ var (
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "show-top-users",
|
Name: "show-top-users",
|
||||||
Description: "Show top users",
|
Description: "Show top users",
|
||||||
|
DefaultMemberPermissions: &defaultRunCommandPermissions,
|
||||||
Options: []*discordgo.ApplicationCommandOption{
|
Options: []*discordgo.ApplicationCommandOption{
|
||||||
{
|
{
|
||||||
Type: discordgo.ApplicationCommandOptionInteger,
|
Type: discordgo.ApplicationCommandOptionInteger,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue