$muteUser

Mutes or unmutes a user in a voice channel.

Usage

$muteUser[userID;mute;reason]
  1. userID - (Optional) default value: $authorID. The ID of user to mute
  2. mute - Can be yes or no. Yes for mute, no for unmute.
  3. 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

User04/23/2025
!!exec $muteUser[123456789123456789;yes;AFK]

Unmuting a member

How to unmute a member with reason

User04/23/2025
!!exec $muteUser[123456789123456789;no;Not AFK]

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.

Function difficulty: Medium
Tags: voice mute