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