diff --git a/options.json b/options.json index 654c996..dd8df36 100644 --- a/options.json +++ b/options.json @@ -4,7 +4,7 @@ "developers": ["132620781791346688", "132777808362471424"], "clientOptions": { "intents": [ - "GUILD", + "GUILDS", "GUILD_MEMBERS", "GUILD_MESSAGES" ] diff --git a/src/structure/DiscordClient.js b/src/structure/DiscordClient.js index aadd329..88314ae 100644 --- a/src/structure/DiscordClient.js +++ b/src/structure/DiscordClient.js @@ -1,4 +1,4 @@ -const { Client, Intents } = require('discord.js'); +const { Client } = require('discord.js'); const { Logger, Intercom, EventHooker, LocaleLoader, Registry, Dispatcher, Resolver } = require('./client/'); const { Observer, Command } = require('./interfaces/'); @@ -46,7 +46,7 @@ class DiscordClient extends Client { this.logger.info(`Built client in ${Date.now()-beforeTime}ms.`); - await super.login(process.env.DISCORD_TOKEN); + await super.login(); // process.env.DISCORD_TOKEN this.emit('built'); this._built = true;