Skip to content

$channelPosition

$channelPosition will return the position of the channel on the guild.

Usage

$channelPosition[channelID?]

Parameters

FieldTypeDescriptionRequired
channelID?numberThe ID of the channel.false

Example(s)

This will return the position of the current channel on the guild:

1
client.command({
2
name: "channelPosition",
3
code: `$channelPosition[$channelID]`
4
});