mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
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:
2
packages/discord.js/typings/index.d.ts
vendored
2
packages/discord.js/typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user