Functionalities
Other
$voiceChannelCount
Returns the total number of voice channels in a guild.

FUNCTION USAGE

  • $voiceChannelCount
  • $voiceChannelCount[]
  • $voiceChannelCount[guildID]

Properties:

[] - Leave brackets empty to return the total number of voice channels in the current guild. Same as no brackets. guildID - The ID of the guild for the function to count the voice channels of.
Bot must be in the guild to read the data.
Example 1: Returns the total number of voice channels in the current guild.
1
bot.Command({
2
name: "vc-position",
3
code: `
4
$voiceChannelCount
5
`
6
})
Copied!
Example 2: Returns the total number of voice channels in the specific guild.
1
bot.Command({
2
name: "test",
3
code: `
4
$voiceChannelCount[6392846529645239]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: