From 08e06a3a421ee7436339646a9f4dca1eba88174d Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 9 Jan 2024 20:18:41 +0700 Subject: [PATCH] Update ThreadChannel.js --- src/structures/ThreadChannel.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/structures/ThreadChannel.js b/src/structures/ThreadChannel.js index 98cb532..d5236df 100644 --- a/src/structures/ThreadChannel.js +++ b/src/structures/ThreadChannel.js @@ -3,7 +3,6 @@ const { Channel } = require('./Channel'); const TextBasedChannel = require('./interfaces/TextBasedChannel'); const { RangeError } = require('../errors'); -const InteractionManager = require('../managers/InteractionManager'); const MessageManager = require('../managers/MessageManager'); const ThreadMemberManager = require('../managers/ThreadMemberManager'); const ChannelFlags = require('../util/ChannelFlags'); @@ -42,24 +41,9 @@ class ThreadChannel extends Channel { * @type {ThreadMemberManager} */ this.members = new ThreadMemberManager(this); - - /** - * A manager of the interactions sent to this channel - * @type {InteractionManager} - */ - this.interactions = new InteractionManager(this); if (data) this._patch(data); } - /** - * First message in the thread - * @type {?Message} - * @readonly - */ - get firstMessage() { - return this.messages.cache.get(this.id); - } - _patch(data, partial = false) { super._patch(data); @@ -614,9 +598,6 @@ class ThreadChannel extends Channel { sendTyping() {} createMessageCollector() {} awaitMessages() {} - createMessageComponentCollector() {} - awaitMessageComponent() {} - bulkDelete() {} // Doesn't work on Thread channels; setRateLimitPerUser() {} // Doesn't work on Thread channels; setNSFW() {} }