aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushStoreChannel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushStoreChannel.ts')
-rw-r--r--src/lib/extensions/discord.js/BushStoreChannel.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/extensions/discord.js/BushStoreChannel.ts b/src/lib/extensions/discord.js/BushStoreChannel.ts
index eadc8af..a2cc114 100644
--- a/src/lib/extensions/discord.js/BushStoreChannel.ts
+++ b/src/lib/extensions/discord.js/BushStoreChannel.ts
@@ -23,8 +23,6 @@ import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
*/
export class BushStoreChannel extends StoreChannel {
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) {
super(guild, data, client);
@@ -32,6 +30,8 @@ export class BushStoreChannel extends StoreChannel {
}
export interface BushStoreChannel extends StoreChannel {
+ get members(): Collection<Snowflake, BushGuildMember>;
+ get parent(): BushCategoryChannel | null;
isText(): this is BushTextChannel;
isDM(): this is BushDMChannel;
isDMBased(): this is PartialGroupDMChannel | BushDMChannel;