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',
|
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']
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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 };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user