$channelNames

List all channel names separated by a given separator.

Syntax

$channelNames[Separator;(Guild ID)]

Parameters

  • Seperator (Type: String || Flag: Emptiable): The separator used to separate the channel names.
  • Guild ID (Type: Snowflake || Flag: Optional): The guild for which to return the channel names. (Defaults to the current guild)

Example

$nomention
#$channelNames[ 
#]
!example main-chat #main-chat
#media
#suggestions
#Category

It can return names of the category, channel, forum.