$eval
Evaluates DB-Script codes in a discord channel.

FUNCTION USAGE

    $eval[content]

Properties:

content - Define DB-Script code to evaluate.

Known Bug: Currently has a hard time evaluating the {execute:} function inside other functions. Working on fixing this bug.

NOTE: This function can be very dangerous when giving access to a common member of your community. Please be careful when using this function, we are not held liable for your mistakes.

Example 1: To easily evaluate DB-Script Functions.

1
bot.Command({
2
name: "eval",
3
code: `
4
$eval[$message[]]
5
`
6
})
Copied!

Example 2: Returns the embedded title message with the text content of testing

1
bot.Command({
2
name: "eval",
3
code: `
4
$eval[$title[testing]]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: