mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
fix: odd why was this needed?
This commit is contained in:
@@ -1 +1 @@
|
||||
export const UNITTEST_TOKEN = "" || Deno.env.get("DISCORD_TOKEN");
|
||||
export const UNITTEST_TOKEN = "" || Deno.env.get("DISCORD_TOKEN")!;
|
||||
|
||||
@@ -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: () => {
|
||||
|
||||
Reference in New Issue
Block a user