$categoryChannels
$categoryChannels
will return all channels of a given category.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
categoryID | number | The ID of the category. | true |
option? | string | The option the bot will return the channels in. 1. names - returns channel names (default) 2. ids - returns channel IDs | false |
sep? | string | The separator to separate the returned channels. | false |
Example(s)
This will return all channels of the category of the channel where you execute the command in: