$channelCategoryID
Returns the category ID that this channel is under.
Usage
$channelCategoryID or $channelCategoryID[channelID]
This function has one fields.
Field
Description
Type
Required
channelID
The channel to return this data for.
Snowflake
No
Example
bot.commands.add({
type: "basicCommand",
name: "example",
code: `<#$channelID>'s Category: $channelCategoryID`
})
Last updated
Was this helpful?