Functionalities
Other
$categoryPosition
Returns the position of a category starting from the top of the channel list.

FUNCTION USAGE

  • $categoryPosition[categoryID]

Properties:

categoryID - Supply a category ID to get the raw position
Raw position is the position in the server. Top category starts at 0
Example 1: Input a category ID to get the raw position.
1
bot.Command({
2
name: "cat-position",
3
code: `
4
$catgoryPosition[743537416152940564]
5
`
6
})
Copied!
Example 2: Type a category name or, supply the ID to get the raw position.
1
bot.Command({
2
name: "cat-position",
3
code: `
4
$catgoryPosition[$findChannel[$message[]]]
5
`
6
})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: