Format channel id

This commit is contained in:
Tarrgon
2025-09-07 20:11:39 -04:00
parent 1c38ddb436
commit 082948f930
+1 -1
View File
@@ -76,7 +76,7 @@ export function formatExtras(entry: GuildAuditLogsEntry, guild: Guild): string {
for (const [key, value] of Object.entries(reserialized.extra ?? {})) { for (const [key, value] of Object.entries(reserialized.extra ?? {})) {
if (!value) continue; 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}`); results.push(`${key}: ${value}`);
} }