forked from Galactic/galactic-bot
clean up lockdown args
This commit is contained in:
parent
88a9712f73
commit
be207d8668
@ -10,7 +10,7 @@ class LockdownCommand extends ModerationCommand {
|
||||
module: 'moderation',
|
||||
options: [{
|
||||
name: 'duration',
|
||||
description: 'How long the mute should last',
|
||||
description: 'How long the lockdown should last',
|
||||
type: 'TIME'
|
||||
}, {
|
||||
name: 'channels',
|
||||
@ -22,7 +22,7 @@ class LockdownCommand extends ModerationCommand {
|
||||
showUsage: true,
|
||||
memberPermissions: ['MANAGE_CHANNELS'],
|
||||
clientPermissions: ['MANAGE_CHANNELS'],
|
||||
skipOptions: ['users']
|
||||
skipOptions: ['users', 'points', 'expiration', 'force', 'silent']
|
||||
});
|
||||
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ class UnlockdownCommand extends ModerationCommand {
|
||||
showUsage: true,
|
||||
memberPermissions: ['MANAGE_CHANNELS'],
|
||||
clientPermissions: ['MANAGE_CHANNELS'],
|
||||
skipOptions: ['users']
|
||||
skipOptions: ['users', 'points', 'expiration', 'force', 'silent']
|
||||
});
|
||||
|
||||
}
|
||||
@ -34,7 +34,7 @@ class UnlockdownCommand extends ModerationCommand {
|
||||
});
|
||||
|
||||
return { content: result, _edit: true };
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user