Unban Command

Remove a user's ban and allow them to rejoin the server

Usage

?unban user_id [reason]

The unban command allows moderators to remove a ban from a user, allowing them to rejoin the server with a new invite.

Arguments:

  • user_id - The ID of the user to unban
  • reason - Optional: Reason for the unban

Finding a User's ID

To unban a user, you'll need their User ID. Here's how to find it:

  1. Enable Developer Mode in Discord (User Settings > App Settings > Advanced > Developer Mode)
  2. Check the server's ban list (Server Settings > Bans)
  3. Right-click on the user and select "Copy ID"

Note: User IDs are long numbers, like "123456789012345678"

Examples

Basic unban:

?unban 123456789012345678

Unban with reason:

?unban 123456789012345678 Appeal approved

Bot Response

Memo Bot

User Unbanned

Successfully unbanned User#1234 (123456789012345678)

Reason: Appeal approved

Memo Bot

Error

User is not banned or ID is invalid.

Required Permissions

  • Ban Members

Cooldown

No cooldown

Related Commands

Additional Notes

  • You must use the user's ID, not their username
  • The action is logged in the server's audit log
  • Users must be re-invited after being unbanned
  • The command works even if the user has left the server