$muteUser
Mutes or unmutes a user in a voice channel.
Usage
$muteUser[userID;mute;reason]
- userID - (Optional) default value:
$authorID. The ID of user to mute - mute - Can be
yesorno. Yes for mute, no for unmute. - reason - (Optional) default value:
Muted by CC commandif mute is yes,UnMuted by CC commandif mute is no. Reason for mute/unmute. You can see this in Audit Log.
Example
Muting a member
How to mute a member with reason
Unmuting a member
How to unmute a member with reason
Permission
Make sure that the bot does have enough permission to mute or unmute members. The bot also needs to be higher in the role hierarchy.
Related functions: $vcBefore $vcAfter
Function difficulty: Medium
Tags: voice mute
⏱️ Function Cooldown
This function has a built-in cooldown to help prevent excessive usage.
| Property | Value |
|---|---|
| ⏱️ Duration | 2 minutes |
| 🆔 Tracked By | User |
| 🌐 Scope | Updateuser |
Functions with the same Scope share cooldowns based on the same
Tracked Byvalue.
💎 Tier 3+ servers bypass this cooldown. See Premium Perks.