Functionalities
Other
$commandDescription
Returns the description of the current or specific command.

FUNCTION USAGE

  • $commandDescription
  • $commandDescription[]
  • $commandDescription[commandName]

Properties:

[] - Returns the description of the current command. commandName - Returns the description of the specific command.

Example 1: Returns the description of the current command.

1
bot.Command({
2
name: "test",
3
aliases: ["test2", "test3"],
4
description: "This is a test command for testing stuff",
5
code: `
6
$commandDescription
7
`
8
})
Copied!

Example 2: Returns the description of the specific command.

1
bot.Command({
2
name: "test",
3
aliases: ["test2", "test3"],
4
description: "This is a test command for testing stuff",
5
code: `
6
$commandDescription[test]
7
`
8
})
Copied!
Last modified 5mo ago
Copy link
Contents
Properties: