$eval

Evaluates the provided BDScript code.

⚠️ Can only be used in BDScript 2. This function should be used with caution!

Syntax

$eval[BDScript source code]

Parameters

  • BDScript source code (Type: String || Flag: Emptiable): The code to be evaluated.

Example

$nomention
$onlyForIDs[$botOwnerID;❌ Only the bot owner can use that!]
$eval[$message]

example

It is recommended to restrict the command to be only used by the bot developers, this can be done with $onlyForIDs[].