$unban

Unbans a user from the server.

Usage

$unban[userID/username;reason]
  1. userID/username - The ID or username of user to unban.
  2. reason - (Optional) default value: (none). The reason for the unban. You can see this in Audit Log.

Example

Using $unban

How to unban user with a reason

User07/28/2026
!!exec $unban[123456789123456789;Appeal successful]

Permissions

Make sure that the bot does have sufficient permission.

Function Difficulty: Easy
Tags: unban unpunish member moderation

⏱️ Function Cooldown

This function has a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration7 minutes
🆔 Tracked ByUser ID
🌐 ScopeUserupdate

Functions with the same Scope share cooldowns based on the same Tracked By value.

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.