Functionalities
Functions
Data
Other
$commandList
Returns a list of commands in your bot.

FUNCTION USAGE

  • $commandList
  • $commandList[]
  • $commandList[separator]

Properties:

[]- Leave brackets empty to return the list of commands separated by a comma. Same as no brackets.separator - Each command will be separated by the content in the brackets.

Example 1: Returns all commands separated by a comma.

bot.Command({
name: "test",
code: `
$commandList
`
})

Example 2: Returns all commands separated by a pipe.

bot.Command({
name: "test",
code: `
$commandList[ | ]
`
})
Copy link