$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
yes
orno
. Yes for mute, no for unmute. - reason - (Optional) default value:
Muted by CC command
if mute is yes,UnMuted by CC command
if 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.