mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
fix: token import for tests
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { memoryBenchmarks } from "../benchmarks/index.ts";
|
||||
import { TOKEN } from "../configs.ts";
|
||||
import {
|
||||
channelOverwriteHasPermission,
|
||||
createBot,
|
||||
@@ -75,8 +74,8 @@ Deno.test({
|
||||
fn: async (t) => {
|
||||
let startedAt = 0;
|
||||
const bot = createBot({
|
||||
token: TOKEN || Deno.env.get("DISCORD_TOKEN"),
|
||||
// token: Deno.env.get("DISCORD_TOKEN")!,
|
||||
// token: TOKEN || Deno.env.get("DISCORD_TOKEN"),
|
||||
token: Deno.env.get("DISCORD_TOKEN")!,
|
||||
// TEST BOT
|
||||
botId: 770381961553510451n,
|
||||
// DD bot
|
||||
|
||||
Reference in New Issue
Block a user