diff options
Diffstat (limited to 'src/commands/utilities/calculator.ts')
-rw-r--r-- | src/commands/utilities/calculator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/calculator.ts b/src/commands/utilities/calculator.ts index c9dbbf2..dc5593b 100644 --- a/src/commands/utilities/calculator.ts +++ b/src/commands/utilities/calculator.ts @@ -52,7 +52,7 @@ export default class CalculatorCommand extends BushCommand { name: '📤 Output', value: await this.client.utils.inspectCleanRedactCodeblock(calculated.toString(), 'mma') }); - } catch (error) { + } catch (error: any) { decodedEmbed .setTitle(`${emojis.errorFull} Unable to Calculate Expression`) .setColor(colors.error) |