$channelCategoryID
$channelCategoryID
will return the parent of a specific channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID? | number | ID of a channel of which you want to retrieve its parent of. | false |
Example(s)
This will return the category ID of the text channel in where you execute the command: