$channelName
Retrieves the name of a Discord channel.
Usage: $channelName[channelID]
<channelID> (Required): The ID of the channel you want to get the name of.
Example:
::: tip 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. :::
::: tip 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. :::
::: tip Related Functions Use $findChannel to find a channel using its name. :::