fix: interaction in forum channel

This commit is contained in:
March 7th
2022-11-04 19:11:35 +07:00
parent b3eedc34be
commit d4cfdc11e2
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
const GuildChannel = require('./GuildChannel');
const TextBasedChannel = require('./interfaces/TextBasedChannel');
const GuildForumThreadManager = require('../managers/GuildForumThreadManager');
const InteractionManager = require('../managers/InteractionManager');
const { SortOrderTypes } = require('../util/Constants');
const { transformAPIGuildForumTag, transformAPIGuildDefaultReaction } = require('../util/Util');
@@ -51,6 +52,12 @@ class ForumChannel extends GuildChannel {
*/
this.threads = new GuildForumThreadManager(this);
/**
* A manager of the interactions sent to this channel
* @type {InteractionManager}
*/
this.interactions = new InteractionManager(this);
this._patch(data);
}