Image & Canvas
attachCanvas
$attachCanvas — Attaches the canvas to the reply as a PNG.
Attaches the canvas to the reply as a PNG.
Syntax
$attachCanvas[canvas;(filename);(format)]
Parameters
- canvas (String, required) — Canvas name
- filename (String, optional) — Accepted, the file is named after the canvas
- format (String, optional) — png (the only format)
Return Value
- None.
Usage
$attachCanvas[canvas;filename;format] → result
Example
$sendMessage[$attachCanvas[canvas;filename;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.