Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

discordeno/cache-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cache-plugin

This is an official plugin maintained by Discordeno. This plugin provides automatic caching. Remember Discordeno does not cache by default. This plugin is NOT recommended for big bot developers but this is useful for smaller bots who just want simple functionality.

Usage

// MOVE TO DEPS.TS AND USE SPECIFIC VERSION
import { enableCachePlugin, enableCacheSweepers } from "https://deno.land/x/discordeno_cache_plugin/mod.ts";

// Create the bot object, THIS WILL NEED YOUR OPTIONS.
const baseBot = createBot({});
// Enables the cache plugin on this bot
const bot = enableCachePlugin(baseBot);
enableCacheSweepers(bot);
// Start your bot
await startBot(bot);

About

Discordeno Cache Plugin. ARCHIVED: merged into https://github.com/discordeno/discordeno

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors