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