mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
fix: token prop
This commit is contained in:
+1
-1
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user