logging: fix

This commit is contained in:
Cynthia Foxwell 2025-10-21 23:23:28 -06:00
parent 8ae634fc78
commit 3f6aae65a6
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -167,7 +167,7 @@ events.add("guildAuditLogEntryCreate", "logging", async function (entry) {
default: {
fields.push({
name: `\`${key}\``,
value,
value: typeof value == "string" ? value : `\`${JSON.stringify(value)}\``,
inline: true,
});
}