Image & Canvas
preloadImage
$preloadImage — Names an image source for the whole execution; draw it with preload://name (at most 32).
Names an image source for the whole execution; draw it with preload://name (at most 32).
Syntax
$preloadImage[name;src]
Parameters
- name (String, required) — Image name
- src (String, required) — Image source
Return Value
- None.
Usage
$preloadImage[name;src] → result
Example
$sendMessage[$preloadImage[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.