Image & Canvas
createDecoder
$createDecoder — Decodes a GIF from an image URL or data URL (at most 200 frames are kept). (alias of $newGIFDecoder)
Decodes a GIF from an image URL or data URL (at most 200 frames are kept). (alias of $newGIFDecoder)
Syntax
$createDecoder[gif;src;(options)]
Parameters
- gif (String, required) — Decoder name
- src (String, required) — GIF source
- options (String, optional) — Name made with $decodeOptions
Return Value
- None.
Usage
$createDecoder[gif;src;options] → result
Example
$sendMessage[$createDecoder[gif;src;options]]
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.