Skip to content

$exec

$exec will execute given code in your console.

Usage

$exec[code]

Parameters

FieldTypeDescriptionRequired
codestringCode to execute in your console.true

Example(s)

This will return your current node version:

1
client.command({
2
name: "exec",
3
code: `
4
\`\`\`
5
$exec[node -v]
6
\`\`\`
7
`
8
});