diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 20:24:19 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-11-22 20:24:19 -0500 |
commit | 62e9eca0452c56f6efd00921db8ed6b6302be1df (patch) | |
tree | 5ab61b73d0eab0f9fce36c911cb9429df2a97fd5 /src/lib/extensions/discord.js/BushMessage.ts | |
parent | 609f042fc2bb5b1ded881d3e9eedb2f92bd0c172 (diff) | |
download | tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.gz tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.tar.bz2 tanzanite-62e9eca0452c56f6efd00921db8ed6b6302be1df.zip |
add @notenoughupdates/simplify-number
Diffstat (limited to 'src/lib/extensions/discord.js/BushMessage.ts')
-rw-r--r-- | src/lib/extensions/discord.js/BushMessage.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/extensions/discord.js/BushMessage.ts b/src/lib/extensions/discord.js/BushMessage.ts index 83ae59b..c722f3d 100644 --- a/src/lib/extensions/discord.js/BushMessage.ts +++ b/src/lib/extensions/discord.js/BushMessage.ts @@ -22,10 +22,12 @@ export class BushMessage<Cached extends boolean = boolean> extends Message<Cache public declare readonly member: BushGuildMember | null; public declare author: BushUser; public declare readonly channel: If<Cached, BushGuildTextBasedChannel, BushTextBasedChannels>; + public constructor(client: BushClient, data: RawMessageData) { super(client, data); } - public override fetch(force?: boolean): Promise<BushMessage> { - return super.fetch(force) as Promise<BushMessage>; - } +} + +export interface BushMessage { + fetch(force?: boolean): Promise<BushMessage>; } |