cleanup & other bs

This commit is contained in:
Erik 2021-08-24 15:57:12 +03:00
parent 3a81d0e9c1
commit 323ead79c3
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"developers": ["132620781791346688", "132777808362471424"],
"clientOptions": {
"intents": [
"GUILD",
"GUILDS",
"GUILD_MEMBERS",
"GUILD_MESSAGES"
]

View File

@ -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;