diff --git a/packages/discord.js/src/structures/AutoModerationActionExecution.js b/packages/discord.js/src/structures/AutoModerationActionExecution.js index ca09a7fbf16f..fcbc6170bdd0 100644 --- a/packages/discord.js/src/structures/AutoModerationActionExecution.js +++ b/packages/discord.js/src/structures/AutoModerationActionExecution.js @@ -87,7 +87,7 @@ class AutoModerationActionExecution { /** * The channel where this action was triggered from. - * @type {?TextBasedChannel} + * @type {?(GuildTextBasedChannel|ForumChannel)} * @readonly */ get channel() { diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 2c48378b800b..026d487a17ff 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -346,7 +346,7 @@ export class AutoModerationActionExecution { public ruleTriggerType: AutoModerationRuleTriggerType; public get user(): User | null; public userId: Snowflake; - public get channel(): TextBasedChannel | null; + public get channel(): GuildTextBasedChannel | ForumChannel | null; public channelId: Snowflake | null; public get member(): GuildMember | null; public messageId: Snowflake | null;