$channelName
Retrieves the name of a Discord channel.
$channelName[channelID]
Usage: <channelID>
(Required): The ID of the channel you want to get the name of.
Example:
Important Notes
- If a channel with the specified ID is not found, the function will return an empty string.
- Make sure your bot has the necessary permissions to access the channel.
Getting the Channel ID
Use $channelID to get the ID of a channel by its name or to get the ID of the channel where the command was executed.
Related Functions
Use $findChannel to find a channel using its name.