aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadChannel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushThreadChannel.ts')
-rw-r--r--src/lib/extensions/discord.js/BushThreadChannel.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushThreadChannel.ts b/src/lib/extensions/discord.js/BushThreadChannel.ts
index a342dd7..691fabf 100644
--- a/src/lib/extensions/discord.js/BushThreadChannel.ts
+++ b/src/lib/extensions/discord.js/BushThreadChannel.ts
@@ -16,7 +16,7 @@ import type {
BushVoiceBasedChannel,
BushVoiceChannel
} from '#lib';
-import { ThreadChannel, type Collection, type Snowflake } from 'discord.js';
+import { PartialGroupDMChannel, ThreadChannel, type Collection, type Snowflake } from 'discord.js';
import type { RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
/**
@@ -38,6 +38,7 @@ export class BushThreadChannel extends ThreadChannel {
export interface BushThreadChannel extends ThreadChannel {
isText(): this is BushTextChannel;
isDM(): this is BushDMChannel;
+ isDMBased(): this is PartialGroupDMChannel | BushDMChannel;
isVoice(): this is BushVoiceChannel;
isCategory(): this is BushCategoryChannel;
isNews(): this is BushNewsChannel;