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

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

Type Parameters

B extends Bot

Parameters

bot: BotWithCache<B>