aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushStoreChannel.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-25 23:20:58 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-25 23:20:58 -0500
commit7057cebb3c37634cfa1468e1f49ce30a890681b6 (patch)
tree0a2ab2c335db439747134a07cbe7982d76f5d0f4 /src/lib/extensions/discord.js/BushStoreChannel.ts
parent866cd2c23eaa3918d01806556ea71f6c7b378ca7 (diff)
downloadtanzanite-7057cebb3c37634cfa1468e1f49ce30a890681b6.tar.gz
tanzanite-7057cebb3c37634cfa1468e1f49ce30a890681b6.tar.bz2
tanzanite-7057cebb3c37634cfa1468e1f49ce30a890681b6.zip
chore: update dependencies and fix breaking changes
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;