diff options
Diffstat (limited to 'src/commands/utilities/calculator.ts')
-rw-r--r-- | src/commands/utilities/calculator.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/utilities/calculator.ts b/src/commands/utilities/calculator.ts index a2c91e4..743e9b2 100644 --- a/src/commands/utilities/calculator.ts +++ b/src/commands/utilities/calculator.ts @@ -33,8 +33,8 @@ export default class CalculatorCommand extends BushCommand { required: true } ], - clientPermissions: ['SEND_MESSAGES'], - userPermissions: ['SEND_MESSAGES'] + clientPermissions: (m) => util.clientSendAndPermCheck(m), + userPermissions: [] }); } public override async exec(message: BushMessage | BushSlashMessage, args: { expression: string }): Promise<unknown> { |