From c32d588c605b4ef82b9f0390e79d2aea0762a33e Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Fri, 19 Nov 2021 02:38:26 +0000 Subject: [PATCH] fix: token prop --- tests/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mod.ts b/tests/mod.ts index b145f4da7..8cf143572 100644 --- a/tests/mod.ts +++ b/tests/mod.ts @@ -81,7 +81,7 @@ Deno.test({ name: "[Bot] - Starting Tests", fn: async (t) => { // const botId = BigInt(atob(UNITTEST_TOKEN.split(".")[0])); - const botId = BigInt(atob(token.split(".")[0])); + const botId = BigInt(atob(Deno.env.get("DISCORD_TOKEN")!.split(".")[0])); let startedAt = 0; const bot = createBot({