clean-up of command options

This commit is contained in:
Erik 2022-07-17 16:02:07 +03:00
parent d0381bbe30
commit 566183692a
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB
3 changed files with 7 additions and 3 deletions

View File

@ -25,6 +25,10 @@ class AddroleCommand extends ModerationCommand {
description: 'Who to give to/take from',
required: true,
strict: true
}, {
name: 'duration',
type: 'TIME',
description: 'For how long the role should be given/taken.'
}]
},
],

View File

@ -24,7 +24,7 @@ class SlowmodeCommand extends ModerationCommand {
required: true
}
],
skipOptions: [ 'users', 'force', 'expiration', 'points' ]
skipOptions: [ 'users', 'force', 'expiration', 'points', 'silent' ]
});
}

View File

@ -11,14 +11,14 @@ class UnlockdownCommand extends ModerationCommand {
options: [{
name: 'channels',
type: 'CHANNELS',
description: 'The channels to lock',
description: 'The channels to unlock',
required: true
}],
guildOnly: true,
showUsage: true,
memberPermissions: ['MANAGE_CHANNELS'],
clientPermissions: ['MANAGE_CHANNELS', 'MANAGE_ROLES'],
skipOptions: ['users', 'points', 'expiration', 'force', 'silent']
skipOptions: ['users', 'points', 'expiration', 'force', 'silent', 'prune']
});
}