bot.blacklist; the
Whitelist subclass adds the enable/disable switch.
Extended by
Constructors
Constructor
Parameters
Returns
AccessList
Properties
name
Methods
add()
TypeError on an empty/non-string id.
Parameters
Returns
this
remove()
TypeError on an empty/non-string id.
Parameters
Returns
this
has()
id on the list? Exact, case-sensitive match. Never throws.
Parameters
Returns
boolean
list()
Returns
string[]
clear()
Returns
this
load()
onChange listeners with action 'load'.
Parameters
Returns
this
export()
Returns
AccessListSnapshot
onChange()
Parameters
Returns
() =>void
Accessors
size
Get Signature
Returns
number