aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-05 14:30:54 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-05 14:30:54 -0400
commite74cfd98a15eaef7d917fcf9a7132d7089d5b35c (patch)
tree80b6237d0646cfff7b305a2f04e33ba39812671a /src/lib/extensions/discord-akairo
parentf5666a1ef6471a8fdd817d1da1466dda20175a67 (diff)
downloadtanzanite-e74cfd98a15eaef7d917fcf9a7132d7089d5b35c.tar.gz
tanzanite-e74cfd98a15eaef7d917fcf9a7132d7089d5b35c.tar.bz2
tanzanite-e74cfd98a15eaef7d917fcf9a7132d7089d5b35c.zip
fix stuff discord.js broke
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 0abc364..c4f92e7 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -1,6 +1,6 @@
import { AkairoClient, ContextMenuCommandHandler } from 'discord-akairo';
import {
- Awaited,
+ Awaitable,
Collection,
Intents,
InteractionReplyOptions,
@@ -166,22 +166,22 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
public override on<K extends keyof BushClientEvents>(
event: K,
- listener: (...args: BushClientEvents[K]) => Awaited<void>
+ listener: (...args: BushClientEvents[K]) => Awaitable<void>
): this;
public override on<S extends string | symbol>(
event: Exclude<S, keyof BushClientEvents>,
- listener: (...args: any[]) => Awaited<void>
+ listener: (...args: any[]) => Awaitable<void>
): this {
return super.on(event as any, listener);
}
public override once<K extends keyof BushClientEvents>(
event: K,
- listener: (...args: BushClientEvents[K]) => Awaited<void>
+ listener: (...args: BushClientEvents[K]) => Awaitable<void>
): this;
public override once<S extends string | symbol>(
event: Exclude<S, keyof BushClientEvents>,
- listener: (...args: any[]) => Awaited<void>
+ listener: (...args: any[]) => Awaitable<void>
): this {
return super.once(event as any, listener);
}
@@ -193,11 +193,11 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
public override off<K extends keyof BushClientEvents>(
event: K,
- listener: (...args: BushClientEvents[K]) => Awaited<void>
+ listener: (...args: BushClientEvents[K]) => Awaitable<void>
): this;
public override off<S extends string | symbol>(
event: Exclude<S, keyof BushClientEvents>,
- listener: (...args: any[]) => Awaited<void>
+ listener: (...args: any[]) => Awaitable<void>
): this {
return super.off(event as any, listener);
}