diff --git a/src/structure/components/commands/moderation/Case.js b/src/structure/components/commands/moderation/Case.js index 89c0b92..badbe0b 100644 --- a/src/structure/components/commands/moderation/Case.js +++ b/src/structure/components/commands/moderation/Case.js @@ -123,6 +123,7 @@ class CaseCommand extends SlashCommand { }; if (change.type === 'RESOLVE') field.value += '\n' + invoker.format('COMMAND_CASE_CHANGES_RESOLVE', { reason: change.reason || invoker.format('COMMAND_CASE_CHANGE_NOREASON') }); + if (change.type === 'UNRESOLVE') field.value += '\n' + invoker.format('COMMAND_CASE_CHANGES_RESOLVE', { reason: change.reason || invoker.format('COMMAND_CASE_CHANGE_NOREASON') }); if (change.type === 'REASON') field.value += '\n' + invoker.format('COMMAND_CASE_CHANGES_REASON', { reason: change.reason }); if (change.type === 'DURATION') field.value += '\n' + invoker.format('COMMAND_CASE_CHANGES_DURATION', { duration: Util.humanise(Math.floor(change.duration/1000)) }); if (change.type === 'POINTS') field.value += '\n' + invoker.format('COMMAND_CASE_CHANGES_POINTS', { points: change.points }); diff --git a/src/structure/components/commands/moderation/Roles.js b/src/structure/components/commands/moderation/Roles.js index 030b8a0..0d470a4 100644 --- a/src/structure/components/commands/moderation/Roles.js +++ b/src/structure/components/commands/moderation/Roles.js @@ -16,16 +16,19 @@ class AddroleCommand extends ModerationCommand { type: 'SUB_COMMAND', options: [{ name: 'roles', - description: '', - type: 'ROLES' + description: 'Which roles to add/take', + type: 'ROLES', + required: true }, { name: 'users', type: 'MEMBERS', - description: '' + description: 'Who to give to/take from', + required: true }] }, ], - memberPermissions: ['MANAGE_ROLES'] + memberPermissions: ['MANAGE_ROLES'], + skipOptions: ['points', 'expiration', 'force', 'prune'] }); }