FilterOptions

Options for an antispam filter.

Type: object

Parameter
Type
Optional
Default
Description

time

number

60000

The amount of time in ms.

max

number

100

The threshold of inputs per id allowed.

onGood

function

returns: object

What to do after an input that is not considered spam.

onBad

function

returns: object

What to do after an input that is considered spam.

Last updated