From edbd039168a372be011eadb468d4817e7a045935 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 22 Jul 2025 18:57:11 -0600 Subject: [PATCH] logging: dont inline code no value --- src/modules/logging.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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([