$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 built-in cooldown. Why? Read more about cooldowns here.
- Cooldown: 2 minutes
- Tracked By: User
- Type:
updateuser
Functions with the same type share cooldowns based on the same Tracked By value.