diff --git a/src/modules/logging.js b/src/modules/logging.js index eca5fa4..7b54056 100644 --- a/src/modules/logging.js +++ b/src/modules/logging.js @@ -25,10 +25,10 @@ async function getLoggingChannel(guild) { } function formatChange(before, after) { - const beforeFormatted = before != null ? before : ""; - const afterFormatted = after != null ? after : ""; + const beforeFormatted = before != null ? `\`${before}\`` : ""; + const afterFormatted = after != null ? `\`after\`` : ""; - return `\`${beforeFormatted}\` -> \`${afterFormatted}\``; + return `${beforeFormatted} -> ${afterFormatted}`; } const WHITELISTED_EVENTS = new Set([