fix: Intents enum now in PascalCase

This commit is contained in:
ITOH
2021-05-05 17:21:39 +01:00
committed by GitHub
parent 7d4d6dfab5
commit ee2e263d63

View File

@@ -38,7 +38,7 @@ import { startBot } from "https://deno.land/x/discordeno/mod.ts";
startBot({
token: "BOT TOKEN",
intents: ["GUILDS", "GUILD_MESSAGES"],
intents: ["Guilds", "GuildMessages"],
eventHandlers: {
ready() {
console.log("Successfully connected to gateway");