fix: odd why was this needed?

This commit is contained in:
Skillz4Killz
2021-11-23 17:22:52 +00:00
committed by GitHub
parent 6db43fadeb
commit ef6befc2b5
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
export const UNITTEST_TOKEN = "" || Deno.env.get("DISCORD_TOKEN");
export const UNITTEST_TOKEN = "" || Deno.env.get("DISCORD_TOKEN")!;

View File

@@ -42,7 +42,7 @@ const botId = BigInt(atob(UNITTEST_TOKEN.split(".")[0]));
let startedAt = 0;
export const bot = createBot({
token: UNITTEST_TOKEN || Deno.env.get("DISCORD_TOKEN"),
token: UNITTEST_TOKEN,
botId,
events: createEventHandlers({
ready: () => {