Skip to content

$sendMessage

$sendMessage will send a message in the execution channel.

Usage

$sendMessage[content;returnID?]

Parameters

FieldTypeDescriptionRequired
contentstringMessage Content to send.true
returnID?booleanReturn message ID?
1. true
2. false (default)
false

Example(s)

This will send a message in the current channel:

1
client.command({
2
name: "sendMessage",
3
code: `
4
$sendMessage[Hello!;false]
5
`
6
});

This will send an embed in the current channel using parsers:

1
client.command({
2
name: "sendMessage",
3
code: `
4
$sendMessage[Hello! {newEmbed:{title:Bonjour!}};false]
5
`
6
});