v5.0.0
$channelCount
Displays the channel count in the server.
This function will display the total channel count on the server, including categories.

Fields

This function has 1 field
  1. 1.
    Type (Optional)
Raw Usage: $channelCount[type (Optional)]

Options

  • Type - the channel type you want to count (text, voice, category)

Usage

Standard Use
1
bot.command({
2
name: "chanels",
3
code: `This guild has $channelCount channels!`
4
});
Copied!
More detailed use
1
bot.command({
2
name: "channels",
3
code: `There are $channelCount[category] categories
4
$channelCount[text] text channels
5
$channelCount[voice] voice channels.`
6
});
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub