fix: token prop

This commit is contained in:
Skillz4Killz
2021-11-19 02:38:26 +00:00
committed by GitHub
parent 583550731e
commit c32d588c60
+1 -1
View File
@@ -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({