Skip to content

Commit

Permalink
add who actioned a ban to thread and db
Browse files Browse the repository at this point in the history
  • Loading branch information
theimperious1 committed Aug 8, 2024
1 parent 19066b0 commit 136bd0e
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 @@ -1502,6 +1502,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 136bd0e

Please sign in to comment.