Image & Canvas
readNextFrame
$readNextFrame — Reads the next frame with its pixels into $env[name] (an object with delay, dispose, width, height, buffer).
Reads the next frame with its pixels into $env[name] (an object with delay, dispose, width, height, buffer).
Syntax
$readNextFrame[gif;name]
Parameters
- gif (String, required) — Decoder name
- name (String, required) — Variable name
Return Value
- None.
Usage
$readNextFrame[gif;name] → result
Example
$sendMessage[$readNextFrame[gif;name]]
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.