Skip to content
Image & Canvas addFrame

$addFrame — Adds a frame (a created frame, or a source) to the GIF encoder.

Adds a frame (a created frame, or a source) to the GIF encoder.

Syntax

$addFrame[(gif);frame;(options);(speed)]

Parameters

  • gif (String, optional) — Encoder name (empty: the only one)
  • frame (String, required) — Frame name or source
  • options (Json, optional) — Frame options
  • speed (Number, optional) — Ignored

Return Value

  • None.

Usage

$addFrame[gif;frame;options;speed] → result

Example

$sendMessage[$addFrame[gif;frame;options;speed]]

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.