🛑
Antispammer
  • Antispammer
  • Docs
    • Filter
      • FilterOptions
    • Complex
Powered by GitBook
On this page
  1. Docs
  2. Filter

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.

PreviousFilterNextComplex

Last updated 3 years ago