diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-25 16:16:44 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-25 16:16:44 -0400 |
commit | 4364f1d344e75d23728ce951fc768bc9c8405bed (patch) | |
tree | 47dbdb0482fc16842271c44e3736ba86e0064351 /src/lib | |
parent | 95dc4c4a4abeed75f419c9ccd5b3f072609c5035 (diff) | |
download | tanzanite-4364f1d344e75d23728ce951fc768bc9c8405bed.tar.gz tanzanite-4364f1d344e75d23728ce951fc768bc9c8405bed.tar.bz2 tanzanite-4364f1d344e75d23728ce951fc768bc9c8405bed.zip |
cleaned up, wolfram alpha command, a few fixes
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 3 | ||||
-rw-r--r-- | src/lib/utils/Config.ts | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index 17f7d32..29be84c 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -883,7 +883,8 @@ export class BushClientUtil extends ClientUtil { ['token']: 'Main Token', ['devToken']: 'Dev Token', ['betaToken']: 'Beta Token', - ['hypixelApiKey']: 'Hypixel Api Key' + ['hypixelApiKey']: 'Hypixel Api Key', + ['wolframAlphaAppId']: 'Wolfram|Alpha App ID' }; return mapping[old as keyof typeof mapping] || old; } diff --git a/src/lib/utils/Config.ts b/src/lib/utils/Config.ts index 663fe95..ed73d40 100644 --- a/src/lib/utils/Config.ts +++ b/src/lib/utils/Config.ts @@ -1,7 +1,7 @@ import { Snowflake } from 'discord.js'; export interface ConfigOptions { - credentials: { token: string; betaToken: string; devToken: string; hypixelApiKey: string }; + credentials: { token: string; betaToken: string; devToken: string; hypixelApiKey: string; wolframAlphaAppId: string }; environment: 'production' | 'beta' | 'development'; owners: Snowflake[]; prefix: string; @@ -12,7 +12,7 @@ export interface ConfigOptions { } export class Config { - public credentials: { token: string; betaToken: string; devToken: string; hypixelApiKey: string }; + public credentials: { token: string; betaToken: string; devToken: string; hypixelApiKey: string; wolframAlphaAppId: string }; public environment: 'production' | 'beta' | 'development'; public owners: Snowflake[]; public prefix: string; |