$channelCategoryID

Returns the category ID that this channel is under.

Usage

$channelCategoryID or $channelCategoryID[channelID]

This function has one fields.

FieldDescriptionTypeRequired

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