aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushChannel.d.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-26 17:16:32 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-26 17:16:32 -0500
commitfc390ffc300334c396d9d06b0feaf8fbc6ed2814 (patch)
treea6282a74cf99033291ac7bc9de123ae273d528d2 /src/lib/extensions/discord.js/BushChannel.d.ts
parent062435590980b87f5b054418ed88604e26358ae9 (diff)
downloadtanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.gz
tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.bz2
tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.zip
documentation, bug fixes etc
Diffstat (limited to 'src/lib/extensions/discord.js/BushChannel.d.ts')
-rw-r--r--src/lib/extensions/discord.js/BushChannel.d.ts14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/extensions/discord.js/BushChannel.d.ts b/src/lib/extensions/discord.js/BushChannel.d.ts
index 9a78b9a..42443ba 100644
--- a/src/lib/extensions/discord.js/BushChannel.d.ts
+++ b/src/lib/extensions/discord.js/BushChannel.d.ts
@@ -1,8 +1,12 @@
-import type { BushClient, BushStageChannel, BushTextBasedChannels, BushThreadChannel, BushVoiceChannel } from '#lib';
+import type { BushClient, BushTextBasedChannel, BushThreadChannel } from '#lib';
import { Channel, type ChannelMention, type Snowflake } from 'discord.js';
import type { ChannelTypes } from 'discord.js/typings/enums';
import type { RawChannelData } from 'discord.js/typings/rawDataTypes';
+import { BushBaseGuildVoiceChannel } from './BushBaseGuildVoiceChannel';
+/**
+ * Represents any channel on Discord.
+ */
export class BushChannel extends Channel {
public constructor(client: BushClient, data?: RawChannelData, immediatePatch?: boolean);
public readonly createdAt: Date;
@@ -11,10 +15,10 @@ export class BushChannel extends Channel {
public id: Snowflake;
public readonly partial: false;
public type: keyof typeof ChannelTypes;
- public delete(): Promise<BushChannel>;
- public fetch(force?: boolean): Promise<BushChannel>;
- public isText(): this is BushTextBasedChannels;
- public isVoice(): this is BushVoiceChannel | BushStageChannel;
+ public delete(): Promise<this>;
+ public fetch(force?: boolean): Promise<this>;
+ public isText(): this is BushTextBasedChannel;
+ public isVoice(): this is BushBaseGuildVoiceChannel;
public isThread(): this is BushThreadChannel;
public toString(): ChannelMention;
}