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) {