From 853cd571ed0fe5797ebaadea7b24ee1d94b2d5bd Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 13 Jul 2024 22:04:23 +0100 Subject: [PATCH] types: fix wrong auto moderation target type --- packages/discord.js/typings/index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index b1071e1d3558..7722962ad977 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -5778,12 +5778,12 @@ interface GuildAuditLogsTypes { [AuditLogEvent.ThreadUpdate]: ['Thread', 'Update']; [AuditLogEvent.ThreadDelete]: ['Thread', 'Delete']; [AuditLogEvent.ApplicationCommandPermissionUpdate]: ['ApplicationCommand', 'Update']; - [AuditLogEvent.AutoModerationRuleCreate]: ['AutoModerationRule', 'Create']; - [AuditLogEvent.AutoModerationRuleUpdate]: ['AutoModerationRule', 'Update']; - [AuditLogEvent.AutoModerationRuleDelete]: ['AutoModerationRule', 'Delete']; - [AuditLogEvent.AutoModerationBlockMessage]: ['AutoModerationRule', 'Create']; - [AuditLogEvent.AutoModerationFlagToChannel]: ['AutoModerationRule', 'Create']; - [AuditLogEvent.AutoModerationUserCommunicationDisabled]: ['AutoModerationRule', 'Create']; + [AuditLogEvent.AutoModerationRuleCreate]: ['AutoModeration', 'Create']; + [AuditLogEvent.AutoModerationRuleUpdate]: ['AutoModeration', 'Update']; + [AuditLogEvent.AutoModerationRuleDelete]: ['AutoModeration', 'Delete']; + [AuditLogEvent.AutoModerationBlockMessage]: ['AutoModeration', 'Create']; + [AuditLogEvent.AutoModerationFlagToChannel]: ['AutoModeration', 'Create']; + [AuditLogEvent.AutoModerationUserCommunicationDisabled]: ['AutoModeration', 'Create']; [AuditLogEvent.OnboardingPromptCreate]: ['GuildOnboardingPrompt', 'Create']; [AuditLogEvent.OnboardingPromptUpdate]: ['GuildOnboardingPrompt', 'Update']; [AuditLogEvent.OnboardingPromptDelete]: ['GuildOnboardingPrompt', 'Delete'];