Functionalities
Other
$voiceChannelPosition
Returns the raw position of voice channels.

FUNCTION USAGE

  • $voiceChannelPosition[channelID]

Properties:

channelID - The ID of the channel to return the position of.
Raw position is the position in the server. Top channel starts at 0
Example 1: Input a voice channel ID to get the raw position.
1
bot.Command({
2
name: "vc-position",
3
code: `
4
$voiceChannelPosition[743537416152940564]
5
`
6
})
Copied!
Example 2: Type a voice channel name or supply the ID to get the raw position.
1
bot.Command({
2
name: "vc-position",
3
code: `
4
$voiceChannelPosition[$findChannel[$message[]]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: