Skip to content
Math & Text deflate

$deflate — Compresses given input

Compresses given input

Syntax

$deflate[input;(encoding)]

Parameters

  • input (text, required) — The text to compress
  • encoding (text, optional) — The output encoding to use

Return Value

  • String.

Usage

$deflate[input;(encoding)] → result

Example

$sendMessage[$inflate[$deflate[abc abc abc;hex];hex]]

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.