Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>CollectionSweeper

An object oriented Discordeno framework
Latest
interface CollectionSweeper
import { type CollectionSweeper } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

filter: (
value: V,
key: K,
...args: any[],
) => boolean

The filter to determine whether an element should be deleted or not

interval: number

The interval in which the sweeper should run

optional
bot: Bot

The bot object itself