serenity

Bans and Kicks

Ban, softban, tempban, kick — and the hardban that survives an unban.

Replace [prefix] with your server's prefix.

Ban

// Syntax
[prefix]ban [member] [reason]

// Example
;ban @member raiding

Works on members and on users who aren't in the server, so you can ban someone by id before they ever join. Needs Ban Members.

FlagEffect
-silenceSkip the DM telling them they were banned
-daysHow many days of their messages to delete

Softban

// Syntax
[prefix]softban [member] [reason]

// Example
;softban @member cleaning up spam

Bans and immediately unbans. The point isn't the ban — it's that banning deletes the member's recent messages, so a softban is a kick that cleans up after itself.

Tempban

// Syntax
[prefix]tempban [member] [duration] [reason]

// Example
;tempban @member 7d cool off

Bans for a set time and lifts it automatically. [prefix]tempunban is the mirror image — it unbans someone now and re-bans them after the duration, for letting a banned member back in for an event.

Kick

// Syntax
[prefix]kick [member] [reason]

// Example
;kick @member read the rules

Needs Kick Members. Nothing stops them coming back — that's the difference from a ban, and often the point.

Unban

// Syntax
[prefix]unban [member] [reason]

// Example
;unban 123456789012345678

Takes an id or a name. To clear the entire ban list at once:

;unbanall

unbanall cannot be undone

It lifts every ban on the server, including ones from before you had the bot. Serenity asks for confirmation first, and that confirmation is the only guard rail.

Hardban

// Syntax
[prefix]hardban [member] [reason]

// Example
;hardban @member ban evading

A hardban is a ban that reapplies itself. If someone with Ban Members unbans the user — or the user is unbanned through Discord directly — Serenity bans them again. Lifting it takes [prefix]unhardban.

Requires Administrator and the antinuke admin role, which makes it one of the few commands a normal administrator can't use alone.

AntinukeProtect your server with Serenity's Antinuke.
;strip @member            // remove every dangerous role
;nickname @member Bob     // change a nickname
;moveall #voice           // move everyone into one voice channel
;mv @member #voice        // move one member

strip pulls anything carrying Administrator, Manage Server, Manage Roles, Manage Channels or Manage Webhooks, and is the fastest way to defuse a compromised staff account.