From 4c14f96acd5f1fbf886f4f924ef7d854e7de5ae6 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 22 Jul 2025 17:13:58 -0600 Subject: [PATCH] logging: nickname removal special case guh --- src/modules/logging.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/modules/logging.js b/src/modules/logging.js index 5387e51..fd64d11 100644 --- a/src/modules/logging.js +++ b/src/modules/logging.js @@ -433,6 +433,13 @@ events.add("guildAuditLogEntryCreate", "logging", async function (entry) { } } } + if (before.nick != null && after.nick == null) { + fields.push({ + name: "Nickname", + value: formatChange(before.nick, after.nick), + inline: true, + }); + } let verb = "updated"; if (after.bypasses_verification) {