aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
commitad2077fa157d49c1099f21ac2effe05903c39035 (patch)
tree4ada5fb9a6243d21411500dc46b203ace06718e1 /src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
parentdbb2de6e5c4b0cf80a5be8e62bbabaac2f3dd516 (diff)
downloadtanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.gz
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.bz2
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.zip
fixed ~500 errors from breaking changes
Diffstat (limited to 'src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts')
-rw-r--r--src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
new file mode 100644
index 0000000..734642e
--- /dev/null
+++ b/src/lib/extensions/discord.js/BushBaseGuildTextChannel.ts
@@ -0,0 +1,18 @@
+import { AllowedThreadTypeForTextChannel, BaseGuildTextChannel, Collection, Snowflake } from 'discord.js';
+import { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
+import { BushCategoryChannel, BushClient, BushGuildMember } from '../..';
+import { BushGuild } from './BushGuild';
+import { BushMessageManager } from './BushMessageManager';
+import { BushThreadManager } from './BushThreadManager';
+
+export class BushBaseGuildTextChannel extends BaseGuildTextChannel {
+ public constructor(guild: BushGuild, data?: RawGuildChannelData, client?: BushClient, immediatePatch?: boolean) {
+ super(guild, data, client, immediatePatch);
+ }
+ public declare messages: BushMessageManager;
+ public declare threads: BushThreadManager<AllowedThreadTypeForTextChannel>;
+ public declare readonly client: BushClient;
+ public declare guild: BushGuild;
+ public declare readonly members: Collection<Snowflake, BushGuildMember>;
+ public declare readonly parent: BushCategoryChannel | null;
+}