Entity Info
scriptLanguage
$scriptLanguage
The function $scriptLanguage returns the name of the scripting language of the interpreter running the script. The native interpreter implements BibiScript and always returns BibiScript.
Syntax
$scriptLanguage
Parameters
None.
Return Value
- Type: String
BibiScript: the value returned by the native interpreter.
Behavior
- Takes no argument (
$scriptLanguage[]is the same as$scriptLanguage). - The native interpreter always returns
BibiScript.
Examples
Display the language
$sendMessage[📝 This bot runs **$scriptLanguage**.]
Information Page
$title[⚙️ Bot Configuration]
$addField[🤖 Name;$botName;yes]
$addField[📝 Language;$scriptLanguage;yes]
$addField[⚡ Runtime;$nodeVersion;yes]
$addField[📦 Node;$botNode;yes]
$footer[BibiScript Bot Creator]
$color[#5865F2]
Notes
- The native interpreter implements BibiScript and always returns
BibiScript.
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.