LogoAntiRaid

Unban Command

Guide on how to unban users from your Discord server

Introduction

The unban command allows moderators to remove bans from users, allowing them to rejoin the server. This is useful when a ban was issued by mistake or when a banned user has appealed successfully.

Usage

This command can be used by users with the "moderation.unban" permission by running /moderation unban

Image

Response

When an unban is successfully applied, you'll receive confirmation with the following information:

FieldDescription
TargetThe user who was unbanned
ReasonThe reason provided for the unban
ModeratorWho issued the unban
Original BanInformation about the original ban that was removed

Customization options

PropTypeDescription
user
string
The user to unban (ID)
reason?
string
The reason for the unban

Steps to unban a user

Important Notes

  • Unbans are logged in the server's moderation logs
  • You need the user's ID to unban them
  • Unbanning a user does not automatically reinvite them to the server
  • Only permanently banned users need to be unbanned - temporary bans expire automatically
  • The unban command will fail if the user isn't currently banned
  • After unbanning, the user will need a new invite to rejoin the server

Last updated on