forked from Galactic/galactic-bot
clean-up of command options
This commit is contained in:
parent
d0381bbe30
commit
566183692a
@ -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.'
|
||||
}]
|
||||
},
|
||||
],
|
||||
|
@ -24,7 +24,7 @@ class SlowmodeCommand extends ModerationCommand {
|
||||
required: true
|
||||
}
|
||||
],
|
||||
skipOptions: [ 'users', 'force', 'expiration', 'points' ]
|
||||
skipOptions: [ 'users', 'force', 'expiration', 'points', 'silent' ]
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -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']
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user