$djsEval
Evals discord.js code.
Usage
$djsEval[showOutput;code]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$djsEval[yes;
let result = "Hello World!"
result]` //Returns Hell
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$djsEval[no;d.data.message.channel.send("Hello World")]`
})Last updated
Was this helpful?