From 42101467f335b2932a87e913df42905087ba5c57 Mon Sep 17 00:00:00 2001 From: lts20050703 <87189679+lts20050703@users.noreply.github.com> Date: Tue, 1 Feb 2022 21:30:50 +0700 Subject: [PATCH] no longer need to check for the compatible discordeno version --- plugins/fileloader/README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/plugins/fileloader/README.md b/plugins/fileloader/README.md index e8b29893a..e863ee6a2 100644 --- a/plugins/fileloader/README.md +++ b/plugins/fileloader/README.md @@ -1,26 +1,26 @@ # fileloader-plugin -> Please check `./deps.ts` for the compatible `discordeno` version! - This plugin leverages the ability to write files, and then import them. ## Code Example ```typescript -import { createBot, enableFileLoaderPlugin, startBot } from './deps.ts' // Import discordeno and this plugin. +import { createBot, enableFileLoaderPlugin, startBot } from "./deps.ts"; // Import discordeno and this plugin. -console.log('Starting Up the Bot, this might take awhile...'); +console.log("Starting Up the Bot, this might take awhile..."); -const bot = enableFileLoaderPlugin(createBot({ - token: '', // Your bot's token - botId: 0n, // Your bot's "Application Id", - intents: [], - events: { - ready() { - console.log('Bot Ready'); - } - } -})); +const bot = enableFileLoaderPlugin( + createBot({ + token: "", // Your bot's token + botId: 0n, // Your bot's "Application Id", + intents: [], + events: { + ready() { + console.log("Bot Ready"); + }, + }, + }) +); bot.fastFileLoader([ // './src/commands', etc. This works just like `import [something] from [somewhere]`