diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-09 09:31:55 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-09 09:31:55 -0500 |
commit | e26413dde461729694c36a92e01970df15eb68a5 (patch) | |
tree | 3591852bd988e5fc0aa5a60850ed75666c66209c /src/lib/extensions/discord-akairo | |
parent | 522a629a945ecaf1c53aae55fd2d5dfe7346aad4 (diff) | |
download | tanzanite-e26413dde461729694c36a92e01970df15eb68a5.tar.gz tanzanite-e26413dde461729694c36a92e01970df15eb68a5.tar.bz2 tanzanite-e26413dde461729694c36a92e01970df15eb68a5.zip |
this is a really bad idea
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClientUtil.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts index 3e066c8..12becd3 100644 --- a/src/lib/extensions/discord-akairo/BushClientUtil.ts +++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts @@ -476,7 +476,7 @@ export class BushClientUtil extends ClientUtil { * @param key The key of the element in the shared cache to update. * @param value The value to add/remove from the array. */ - public async insertOrRemoveFromShared<K extends Exclude<keyof typeof client['cache']['shared'], 'badWords'>>( + public async insertOrRemoveFromShared<K extends Exclude<keyof typeof client['cache']['shared'], 'badWords' | 'autoBanCode'>>( action: 'add' | 'remove', key: K, value: typeof client['cache']['shared'][K][0] @@ -510,7 +510,7 @@ export class BushClientUtil extends ClientUtil { * @param key The key in the shared cache to update. * @param value The value to set the key to. */ - public async setShared<K extends Exclude<keyof typeof client['cache']['shared'], 'badWords'>>( + public async setShared<K extends Exclude<keyof typeof client['cache']['shared'], 'badWords' | 'autoBanCode'>>( key: K, value: typeof client['cache']['shared'][K] ): Promise<Shared | void> { |