$setFilter
$setFilter
will set given filter.
Usage
$setFilter[type;custom?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
type | string |
Filter type, custom to set custom filter
(see bellow)
|
true |
custom? | string | JSON FORMAT. see here for more info | false |
Built-in Filter
8d
, bass
,
chimpunk
, china
,
clear
, darthvader
,
daycore
, doubletime
,
earrape
, electronic
,
equalizer
, karaoke
,
nightcore
, party
,
pitch
, pop
,
radio
, rate
,
slow
, soft
,
speed
, treblebass
,
tremolo
, vaporwave
,
vibrato
Example Custom Filter
$setFilter[custom;{ "karaoke": { "level": 1.0, "monoLevel": 1.0, "filterBand": 220.0, "filterWidth": 100.0 }}]
see here for more info.
Example(s)
This will set given filter
1client.command({2 name: 'setfilter',3 code: `4 $setFilter[nightcore]5 `6});
This will set given filter.
1module.exports = [{2 name: "setfilter",3 code: `4 $setFilter[nightcore]5 `6}]