From ad3ebd86ff8dae09c3f82de7514f3beabf363682 Mon Sep 17 00:00:00 2001 From: Shadow Date: Sun, 25 Aug 2024 15:59:45 +0000 Subject: [PATCH] add who actioned a ban to thread and db (#831) Co-authored-by: LunaUrsa <1836049+LunaUrsa@users.noreply.github.com> --- src/discord/commands/guild/d.moderate.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/discord/commands/guild/d.moderate.ts b/src/discord/commands/guild/d.moderate.ts index 0aff4597b..f8ce79518 100644 --- a/src/discord/commands/guild/d.moderate.ts +++ b/src/discord/commands/guild/d.moderate.ts @@ -1509,6 +1509,10 @@ export async function moderate( ); } + if (command === 'FULL_BAN') { + internalNote += `\n **Actioned by:** ${actor.displayName}`; + } + let actionData = { user_id: targetData.id, guild_id: actor.guild.id,