$channelName
$channelName
will return the name of the given channel.
Usage
$channelName[channelID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | Channel ID of the channel you want the channel name of. | false |
Example(s)
This will return the channel name of the channel where you executed the command in:
1client.command({2 name: "channelName",3 code: `4 $channelName[$channelID]5 `6});