change: prettier code

This commit is contained in:
Skillz4Killz
2021-10-25 00:11:44 +00:00
committed by GitHub Action
parent 231554d091
commit 3461408a33
12 changed files with 16 additions and 64 deletions
+10 -23
View File
@@ -1,29 +1,18 @@
import { TOKEN } from "../configs.ts";
import { Bot, createBot, createEventHandlers, startBot } from "../mod.ts";
Deno.test("[Bot] - Starting Tests", async (t) => {
const bot = createBot({
token: TOKEN || Deno.env.get('DISCORD_TOKEN'),
botId: 0n,
events: createEventHandlers({
}),
intents: [],
})
await startBot(bot as Bot);
console.log('Bot online')
})
Deno.test("[Bot] - Starting Tests", async (t) => {
const bot = createBot({
token: TOKEN || Deno.env.get("DISCORD_TOKEN"),
botId: 0n,
events: createEventHandlers({}),
intents: [],
});
await startBot(bot as Bot);
console.log("Bot online");
});
// // THE ORDER OF THE IMPORTS IN THIS FILE MATTER!
// // DO NOT MOVE THEM UNLESS YOU KNOW WHAT YOUR DOING!
@@ -115,5 +104,3 @@ Deno.test("[Bot] - Starting Tests", async (t) => {
// await delay(3000);
// }