From b50314faee3655a8acb39671d0338658c82bb6c7 Mon Sep 17 00:00:00 2001 From: CatNowBlue <43247023+raluvy95@users.noreply.github.com> Date: Sat, 3 Sep 2022 19:41:25 +0300 Subject: [PATCH] chore: Updated example code to match final version (#2426) * Updated example code to match final version * readme: update example Co-authored-by: LTS20050703 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e5281eeb..deb53f489 100644 --- a/README.md +++ b/README.md @@ -100,13 +100,12 @@ Have your cache setup in any way you like. Redis, PGSQL or any cache layer you w Here is a minimal example to get started with: ```typescript -import { createBot, Intents, startBot } from "https://deno.land/x/discordeno@13.0.0-rc18/mod.ts"; -import { enableCachePlugin, enableCacheSweepers } from "https://deno.land/x/discordeno_cache_plugin@0.0.18/mod.ts"; +import { createBot, Intents, startBot } from "https://deno.land/x/discordeno@13.0.0/mod.ts"; +import { enableCachePlugin, enableCacheSweepers } from "https://deno.land/x/discordeno@13.0.0/plugins/cache/mod.ts"; const baseBot = createBot({ token: Deno.env.get("DISCORD_TOKEN"), intents: Intents.Guilds | Intents.GuildMessages, - botId: Deno.env.get("BOT_ID"), events: { ready() { console.log("Successfully connected to gateway");