$unban
Unbans a user from the server.
Usage
$unban[userID/username;reason]
- userID/username - The ID or username of user to unban.
- 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
Permissions
Make sure that the bot does have sufficient permission.
Related functions: $kick $ban
Function Difficulty: Easy
Tags: unban unpunish member moderation
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 7 minutes |
| 🆔 Tracked By | User ID |
| 🌐 Scope | Userupdate |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.