Custom Command
FunctionsChannel Functions

$channelCount

This function returns the total number of channels present in the server.

Usage

$channelCount[Channel Type (optional)]

You can optionally specify a channel type to count only channels of that specific type. Refer to this list for valid channel types.

Parameters:

  • Channel Type (optional): The type of channel to count. If omitted, the function will count all channels. Valid types can be found in the Channel Types Reference.

Example:

Counts the number of public threads in the server:

Member
9/5/2026

!!exec There are $channelCount[threads_public] threads in the server!

Custom Command
APP
9/5/2026
There are 13 threads in the server!

Function Difficulty: Easy

Tags: Channel Count Amount Of Channels Return Number

On this page