CollectionSweeper
@discordeno/bot • Docs
Documentation / @discordeno/bot / CollectionSweeper
Interface: CollectionSweeper<K, V>
Type Parameters
• K
• V
Properties
bot?
optional
bot:PlaceHolderBot
The bot object itself
Defined in
packages/utils/dist/types/Collection.d.ts:55
filter()
filter: (
value
,key
, ...args
) =>boolean
The filter to determine whether an element should be deleted or not
Parameters
• value: V
• key: K
• ...args: any
[]
Returns
boolean
Defined in
packages/utils/dist/types/Collection.d.ts:51
interval
interval:
number
The interval in which the sweeper should run
Defined in
packages/utils/dist/types/Collection.d.ts:53