Image & Canvas
filter
$filter — Filters applied to what is drawn next: methods add, set, remove, clear, get, json, setRaw. Filters: blur, sepia, grayscale, brightness, contrast, invert, saturate.
Filters applied to what is drawn next: methods add, set, remove, clear, get, json, setRaw. Filters: blur, sepia, grayscale, brightness, contrast, invert…
Syntax
$filter[(canvas);method;(filter);(value)]
Parameters
- canvas (String, optional) — Canvas name (empty: the current canvas)
- method (String, required) — add, set, remove, clear, get, json or setRaw
- filter (String, optional) — Filter name
- value (String, optional) — Value, for example 5px, 50% or 1.2
Return Value
- String.
Usage
$filter[canvas;method;filter;value] → result
Example
$sendMessage[$filter[canvas;method;filter;value]]
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.