Skip to content

Commit

Permalink
add who actioned a ban to thread and db (#831)
Browse files Browse the repository at this point in the history
Co-authored-by: LunaUrsa <[email protected]>
  • Loading branch information
theimperious1 and LunaUrsa authored Aug 25, 2024
1 parent 320948d commit ad3ebd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/discord/commands/guild/d.moderate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ad3ebd8

Please sign in to comment.