This commit is contained in:
Skillz
2020-11-18 15:12:05 -05:00
parent 404dc71b69
commit ee02205c80
+2 -2
View File
@@ -2,7 +2,7 @@ import { assert, assertEquals, delay } from "../deps.ts";
import {
botID,
cache,
createClient,
startBot,
createGuildChannel,
createGuildRole,
createServer,
@@ -26,7 +26,7 @@ import { getChannel } from "../src/handlers/guild.ts";
const token = Deno.env.get("DISCORD_TOKEN");
if (!token) throw "Token is not provided";
createClient({
startBot({
token,
intents: [Intents.GUILD_MESSAGES, Intents.GUILDS],
});