$voiceChannelID
::: danger This function is deprecated and should no longer be used!
Please use $vcBefore and $vcAfter instead. These functions provide more control and flexibility. :::
Returns the ID of the voice channel a user joined or left in a voice trigger event. If a user switches channels, this function will return the ID of the new channel they joined.
Usage
$voiceChannelIDImportant Considerations
::: warning
- This function will not work in the
Channel Creation/Deletiontrigger. Use $eventChannelID for those events. $voiceChannelIDis specifically designed for theVoice Join/Leavetrigger. Using it in other triggers will not produce the desired result. For other triggers, use the more general $channelID. :::