aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-04 12:39:08 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-04 12:39:08 -0400
commitbb774bbe0cfedd77be852f73448df061252b7c0a (patch)
tree579c2f11717dd5aa3a0d6ea990479368b338cd66 /src/commands/utilities
parent939f19c1a8a7efea00fc3df3504a41fc58a3b286 (diff)
downloadtanzanite-bb774bbe0cfedd77be852f73448df061252b7c0a.tar.gz
tanzanite-bb774bbe0cfedd77be852f73448df061252b7c0a.tar.bz2
tanzanite-bb774bbe0cfedd77be852f73448df061252b7c0a.zip
I sure do love when one line causes 400 errors
Diffstat (limited to 'src/commands/utilities')
-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 {