Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function enableCacheSweepers
import { enableCacheSweepers } from "https://deno.land/x/discordeno@17.0.0/plugins/cache/src/sweepers.ts";

Enables sweepers for your bot but will require, enabling cache first.

Type Parameters

B extends Bot

Parameters

bot: BotWithCache<B>