Skip to content

$comment

$comment will add text to your code without executing it.

Usage

$comment[content]

Parameters

FieldTypeDescriptionRequired
contentstringThe text that will be commented on.true

Example(s)

This will only return “Hello!”:

1
client.command({
2
name: "hi",
3
code: `Hello!
4
$comment[This is a comment!]`
5
});