Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/packages/embeds/deps.ts>CollectionSweeper

Discord API library for Node and Deno
Go to Latest
interface CollectionSweeper
import { type CollectionSweeper } from "https://deno.land/x/discordeno_patched@18.0.2/packages/embeds/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