Format channel id
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user