Image & Canvas
canvasDataUrl
$canvasDataUrl — Returns the canvas as a data URL (png, jpeg or gif).
Returns the canvas as a data URL (png, jpeg or gif).
Syntax
$canvasDataUrl[(canvas);(format)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- format (String, optional) — png (default), jpeg or gif
Return Value
- String.
Usage
$canvasDataUrl[canvas;format] → result
Example
$sendMessage[$canvasDataUrl[canvas;format]]
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.