Skip to content
Image & Canvas setEncoderLoops

$setEncoderLoops — Sets how many times the GIF loops (0: forever).

Sets how many times the GIF loops (0: forever).

Syntax

$setEncoderLoops[(gif);loops]

Parameters

  • gif (String, optional) — Encoder name (empty: the only one)
  • loops (Number, required) — Loops

Return Value

  • None.

Usage

$setEncoderLoops[gif;loops] → result

Example

$sendMessage[$setEncoderLoops[gif;loops]]

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.