Functionalities
Functions
Data
Other
$customCommandList
Returns the list of custom commands in the database, if any.

FUNCTION USAGE

  • $customCommandList[format;amount]
  • $customCommandList[format]
  • $customCommandList[amount]

Properties:

format - The command list format and how it will show. Can be left blank to return the names. amount - The amount of commands you want to show. Leave blank for a default 10

Example 1: All the custom command names in the database.

bot.Command({
name: "test",
code: `
$customCommandList[]
`
})

Example 2: First 5 custom commands

bot.Command({
name: "test",
code: `
$customCommandList[{name};5]
`
})

Example 3: All the custom command names and their codes.

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