$userConnectedVC

Returns the ID of a voice channel the user is currently connected to.

Usage

$userConnectedVC[userID]
  1. userID - (Optional) default value: $authorID. The ID of a user you want to return voice channel they are connected to.

Example

Is connected to a voice channel

What happens if user is connected to a voice channel

User04/23/2025
!!exec $userConnectedVC
Custom Command Bot 04/23/2025
123456789987654321

Is not connected to a voice channel

What happens if user is not connected to a voice channel

User04/23/2025
!!exec $userConnectedVC
Custom Command Bot 04/23/2025
undefined
Function difficulty: Easy
Tags: voice connected