aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities/wolframAlpha.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/utilities/wolframAlpha.ts')
-rw-r--r--src/commands/utilities/wolframAlpha.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/utilities/wolframAlpha.ts b/src/commands/utilities/wolframAlpha.ts
index c18646c..88dc65a 100644
--- a/src/commands/utilities/wolframAlpha.ts
+++ b/src/commands/utilities/wolframAlpha.ts
@@ -39,7 +39,7 @@ export default class WolframAlphaCommand extends BushCommand {
});
}
public override async exec(message: BushMessage | BushSlashMessage, args: { expression: string }): Promise<unknown> {
- const waApi = WolframAlphaAPI(this.client.config.credentials.wolframAlphaAppId);
+ const waApi = WolframAlphaAPI(client.config.credentials.wolframAlphaAppId);
const decodedEmbed = new MessageEmbed().addField('📥 Input', await util.inspectCleanRedactCodeblock(args.expression));
try {