Image & Canvas
loadImageOptions
$loadImageOptions — Sets or returns the image load options (alt, maxRedirects); kept for compatibility, the loader ignores them and never takes custom request options.
Sets or returns the image load options (alt, maxRedirects); kept for compatibility, the loader ignores them and never takes custom request options.
Syntax
$loadImageOptions[(global);(alt);(maxRedirects);(requestOptions)]
Parameters
- global (Boolean, optional) — Accepted, ignored
- alt (String, optional) — Alt text
- maxRedirects (Number, optional) — Redirect limit
- requestOptions (Json, optional) — Accepted, ignored
Return Value
- Json.
Usage
$loadImageOptions[global;alt;maxRedirects;requestOptions] → result
Example
$sendMessage[$loadImageOptions[global;alt;maxRedirects;requestOptions]]
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.