Functionalities
Other
$positionInCategory
Returns the position of a channel inside of a category. Also works for text channels outside of a category.

FUNCTION USAGE

  • $positionInCategory
  • $positionInCategory[]
  • $positionInCategory[userID]

Properties:

[] - Leave brackets empty to return the position of the current channel in the current category the channel is in. userID - Returns the position of the defined channel in its category.

Example 1: Returns the current channel position of the current category the channel is in.

1
bot.Command({
2
name: "position",
3
code: `
4
$positionInCategory
5
`
6
})
Copied!

Example 2: Returns the channel position of the specified channel in its category.

1
bot.Command({
2
name: "position",
3
code: `
4
$positionInCategory[$findChannel[$message[1]]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: