Image & Canvas
loadImage
$loadImage — Gives a name to an image source (URL or data URL) for $drawImage; 32 names at most.
Gives a name to an image source (URL or data URL) for $drawImage; 32 names at most.
Syntax
$loadImage[name;src]
Parameters
- name (String, required) — Image name
- src (String, required) — URL or data URL
Return Value
- None.
Usage
$loadImage[name;src] → result
Example
$sendMessage[$loadImage[name;src]]
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.