$muteUser
$muteUser
will mute or unmute a given user in a Voice Channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID | number | The guild ID of where the user is located. | true |
userID | number | The user ID of the user to mute/unmute. | true |
mute? | boolean | Mute or unmute the user. 1. true (mute / default) 2. false (unmute) | false |
reason? | string | Reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will server mute yourself (must be in a voice channel):