aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts')
-rw-r--r--src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
index 9b260dc..5444a7f 100644
--- a/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
+++ b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
@@ -16,10 +16,13 @@ export class BushBaseGuildTextChannel extends BaseGuildTextChannel {
public declare threads: BushThreadManager<AllowedThreadTypeForTextChannel | AllowedThreadTypeForNewsChannel>;
public declare readonly client: BushClient;
public declare guild: BushGuild;
- public declare readonly members: Collection<Snowflake, BushGuildMember>;
- public declare readonly parent: BushCategoryChannel | null;
public constructor(guild: BushGuild, data?: RawGuildChannelData, client?: BushClient, immediatePatch?: boolean) {
super(guild, data, client, immediatePatch);
}
}
+
+export interface BushBaseGuildTextChannel {
+ get members(): Collection<Snowflake, BushGuildMember>;
+ get parent(): BushCategoryChannel | null;
+}