diff --git a/packages/discord.js/src/structures/GuildAuditLogsEntry.js b/packages/discord.js/src/structures/GuildAuditLogsEntry.js index 3e1eee6716d6..dde8b6e136a0 100644 --- a/packages/discord.js/src/structures/GuildAuditLogsEntry.js +++ b/packages/discord.js/src/structures/GuildAuditLogsEntry.js @@ -220,7 +220,6 @@ class GuildAuditLogsEntry { case AuditLogEvent.ApplicationCommandPermissionUpdate: this.extra = { applicationId: data.options.application_id, - guild: guild.client.guilds.cache.get(data.options.guild_id) ?? { id: data.options.guild_id }, }; break; diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index d314a3a14695..9f765adb56dd 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -4735,7 +4735,7 @@ export interface GuildAuditLogsEntryExtraField { [AuditLogEvent.StageInstanceCreate]: StageChannel | { id: Snowflake }; [AuditLogEvent.StageInstanceDelete]: StageChannel | { id: Snowflake }; [AuditLogEvent.StageInstanceUpdate]: StageChannel | { id: Snowflake }; - [AuditLogEvent.ApplicationCommandPermissionUpdate]: { applicationId: Snowflake; guild: Guild | { id: Snowflake } }; + [AuditLogEvent.ApplicationCommandPermissionUpdate]: { applicationId: Snowflake }; } export interface GuildAuditLogsEntryTargetField {