aboutsummaryrefslogtreecommitdiff
path: root/src/commands/admin/roleAll.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/admin/roleAll.ts')
-rw-r--r--src/commands/admin/roleAll.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/admin/roleAll.ts b/src/commands/admin/roleAll.ts
index d965239..ec1f2b5 100644
--- a/src/commands/admin/roleAll.ts
+++ b/src/commands/admin/roleAll.ts
@@ -28,7 +28,7 @@ export default class RoleAllCommand extends BushCommand {
}
],
channel: 'guild',
- clientPermissions: ['MANAGE_ROLES', 'SEND_MESSAGES'],
+ clientPermissions: (m) => util.clientSendAndPermCheck(m, ['MANAGE_ROLES']),
userPermissions: ['ADMINISTRATOR'],
typing: true
});