v5.0.0
$allChannelsCount
Returns the amount of all the channels of all the guilds your bot is inYou can optionally pass types of channels to count.
This function returns the amount of channels the bot has access to globally

Usage

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

Types

  • text
  • voice
  • category
  • news

Usage

1
bot.command({
2
name: "channelCount",
3
code: `
4
- $allChannelsCount Channels
5
- $allChannelsCount[category] Categories
6
- $allChannelsCount[text] Text Channels
7
- $allChannelsCount[voice] Voice Channels
8
- $allChannelsCount[news] Announcement Channels
9
`
10
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub