$disconnectUser
$disconnectUser
disconnects the user from the voice or stage channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID | number | The user ID. | true |
guildID | number | The guild ID. | true |
reason? | string | The reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will disconnect the mentioned user from the current channel (if its voice or stage channel):