Skip to content

Commit

Permalink
Update ThreadChannel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aiko-chan-ai committed Jan 9, 2024
1 parent 02fcfb8 commit 08e06a3
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/structures/ThreadChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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() {}
}
Expand Down

0 comments on commit 08e06a3

Please sign in to comment.