Skip to content
Image & Canvas canvasVersion

$canvasVersion — Returns the name of the canvas engine.

Returns the name of the canvas engine.

Syntax

$canvasVersion[(napi)]

Parameters

  • napi (Boolean, optional) — Accepted for compatibility

Return Value

  • String.

Usage

$canvasVersion[napi] → result

Example

$sendMessage[$canvasVersion[napi]]

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.