$moveUser
Moves a user to a different voice channel, or disconnects them from their current voice channel.
Usage
$moveUser[userID;channelID;reason]
- userID - The ID of user to be moved.
- channelID - (Optional) default: disconnect user. The channel where to move the user. If none provided, the user will be disconnected.
- reason - (Optional) default value: (empty). Reason for move or disconnect. You can see this in Audit Log.
Examples
Moving user to a channel
How to move user to another channel
Disconnecting user from a channel
How to diconnect user from a channel
Permission
Make sure that the bot does have enough permission to move or disconnect members. The bot also needs to be higher in the role hierarchy.
Related functions: $vcBefore $vcAfter
Function difficulty: Medium
Tags: voice move
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.