FunctionsChannel Functions
$serverChannels
This function retrieves a list of all channels within the current server (guild).
Usage
$serverChannels[info (optional, default: name); type (optional, default: all); separator (optional, default: ", ")]Parameters:
-
info: (Optional) Specifies what information about each channel should be returned. Defaults to the channel's name.- Possible values:
name: Returns the channel's name.id: Returns the channel's ID.
- Possible values:
-
type: (Optional) Filters the channels based on their type. Defaults toall(returns all channels).- Possible values:
all: Returns all channels (text, voice, category, etc.).text: Returns only text channels.voice: Returns only voice channels.category: Returns only category channels.
- Possible values:
-
separator: (Optional) The string used to separate the channel information in the returned list. Defaults to ", ".
Example
This example retrieves the names of all text channels in the server, separated by forward slashes.
Member
9/5/2026
!!exec $serverChannels[name;text;/]
Custom Command
APP
9/5/2026
channel1/channel2/channel3/channel4
Info
- The
infoparameter determines what information you get for each channel. - The
typeparameter lets you filter the channels returned.
Channel Types:
- all: Returns all channels.
- text: Returns only text channels.
- voice: Returns only voice channels.
- category: Returns only category channels.
Related Functions
$categoryChannels: Get channels within a specific category.