$channelGuildID

Returns the guild ID that this channel belongs to.

Usage

$channelGuildID or $channelGuildID[channelID]

This function has one params.

ParamDescriptionTypeRequired

channelID

The channel to return this data for.

Snowflake

No

Example

bot.commands.add({
    type: "basicCommand",
    name: "example",
    code: `$channelGuildID[775821524925022228]`
})

Last updated