clean up lockdown args

This commit is contained in:
Erik 2022-06-28 17:41:15 +03:00
parent 88a9712f73
commit be207d8668
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ class LockdownCommand extends ModerationCommand {
module: 'moderation', module: 'moderation',
options: [{ options: [{
name: 'duration', name: 'duration',
description: 'How long the mute should last', description: 'How long the lockdown should last',
type: 'TIME' type: 'TIME'
}, { }, {
name: 'channels', name: 'channels',
@ -22,7 +22,7 @@ class LockdownCommand extends ModerationCommand {
showUsage: true, showUsage: true,
memberPermissions: ['MANAGE_CHANNELS'], memberPermissions: ['MANAGE_CHANNELS'],
clientPermissions: ['MANAGE_CHANNELS'], clientPermissions: ['MANAGE_CHANNELS'],
skipOptions: ['users'] skipOptions: ['users', 'points', 'expiration', 'force', 'silent']
}); });
} }

View File

@ -18,7 +18,7 @@ class UnlockdownCommand extends ModerationCommand {
showUsage: true, showUsage: true,
memberPermissions: ['MANAGE_CHANNELS'], memberPermissions: ['MANAGE_CHANNELS'],
clientPermissions: ['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 }; return { content: result, _edit: true };
} }
} }