aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-26 16:12:11 +0000
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-26 16:12:11 +0000
commit973bbebfd0a47b0b36d19fccf6a882e971beaaa5 (patch)
tree39dc606816ed198735a7ed0669a195f64e6a06c6 /src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
parent00ad00734ddb2c2fce8de8efcc010181c9ce1821 (diff)
parenta9ac478ee06f9567f3fde73f777da88c6b876c4f (diff)
downloadtanzanite-973bbebfd0a47b0b36d19fccf6a882e971beaaa5.tar.gz
tanzanite-973bbebfd0a47b0b36d19fccf6a882e971beaaa5.tar.bz2
tanzanite-973bbebfd0a47b0b36d19fccf6a882e971beaaa5.zip
Merge branch 'master' of https://github.com/NotEnoughUpdates/bush-bot-3.0
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;
+}