Module

x/discordeno/mod.ts>CollectionSweeper

Discord API library for Deno
Latest
interface CollectionSweeper
import { type CollectionSweeper } from "https://dotland.deno.dev/x/discordeno@18.0.1/mod.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