types(AutoModerationActionExecution): Add forum channels as a possible type in channel() (#9623)

types(AutoModerationActionExecution): type forum channels

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jiralite
2023-06-14 19:14:16 +01:00
committed by GitHub
parent 2818d7cc1d
commit d64330a157
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class AutoModerationActionExecution {
/**
* The channel where this action was triggered from.
* @type {?TextBasedChannel}
* @type {?(GuildTextBasedChannel|ForumChannel)}
* @readonly
*/
get channel() {

View File

@@ -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;