From 082948f930049fc71556872729c6915348fdef28 Mon Sep 17 00:00:00 2001 From: Tarrgon <61888458+Tarrgon@users.noreply.github.com> Date: Sun, 7 Sep 2025 20:11:39 -0400 Subject: [PATCH] Format channel id --- src/utils/audit-log-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/audit-log-utils.ts b/src/utils/audit-log-utils.ts index 7204c6e..dda15bb 100644 --- a/src/utils/audit-log-utils.ts +++ b/src/utils/audit-log-utils.ts @@ -76,7 +76,7 @@ export function formatExtras(entry: GuildAuditLogsEntry, guild: Guild): string { for (const [key, value] of Object.entries(reserialized.extra ?? {})) { if (!value) continue; - if (key == 'channel_id') results.push(formatSnowflake(value as string, TargetType.Channel)); + if (key == 'channel_id' || key == 'channel') results.push(formatSnowflake(value as string, TargetType.Channel)); results.push(`${key}: ${value}`); }