fix: token check

This commit is contained in:
Skillz4Killz
2021-11-23 17:21:01 +00:00
committed by GitHub
parent d0a3f6b1d0
commit 6db43fadeb

View File

@@ -36,6 +36,8 @@ import { deleteChannelOverwriteTests } from "./helpers/channels/deleteChannelOve
import { editChannelTests } from "./helpers/channels/editChannel.ts";
import { CACHED_COMMUNITY_GUILD_ID, sanitizeMode } from "./constants.ts";
if (!UNITTEST_TOKEN) throw new Error("Token was not provided.");
const botId = BigInt(atob(UNITTEST_TOKEN.split(".")[0]));
let startedAt = 0;