Skip to content

Commit

Permalink
types(AutoModerationActionExecution): type forum channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jun 4, 2023
1 parent df8b6e9 commit 994b34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AutoModerationActionExecution {

/**
* The channel where this action was triggered from.
* @type {?TextBasedChannel}
* @type {?(GuildTextBasedChannel|ForumChannel)}
* @readonly
*/
get channel() {
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 994b34f

Please sign in to comment.