diff --git a/tests/mod.ts b/tests/mod.ts index 8dacd38b8..5be81791c 100644 --- a/tests/mod.ts +++ b/tests/mod.ts @@ -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;