Skip to content

$message

$message will return given arguments of a message.

Usage

$message[index?]

Parameters

FieldTypeDescriptionRequired
index?numberWhich message argument will be returned, leave it empty to return the whole message.false

Example(s)

This will return your given message:

1
client.command({
2
name: "message",
3
code: `
4
You said: "$message"
5
` // [prefix]message Hello!
6
});