$eval
Dangerous
Evaluates the provided BDScript code.
Can only be used in BDScript 2.
⚠️ Should be used with caution! ⚠️
Syntax
$eval[Source code]
Parameters
Source code(Type: String || Flag: Emptiable): The code to be evaluated.
Example
$nomention
$eval[$message]
How
$messageworks?
⚠️ Should be used with caution! ⚠️
It is recommended to restrict the command to be only used by the bot developers, this can be done with:
$nomention
$onlyForIDs[$botOwnerID;❌ You are not my owner!]
$eval[$message]
How
$onlyForIDs[]and$botOwnerIDworks?