Skip to main content
Deno 2 is finally here 🎉️
Learn more
method BotGenerationCacheService.prototype.storeBots
import { BotGenerationCacheService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Store array of bots in cache, shuffle results before storage

Parameters

key: string

Bots we want to store in the cache

botsToStore: IBotBase[]