forked from Galactic/galactic-bot
cleanup & other bs
This commit is contained in:
parent
3a81d0e9c1
commit
323ead79c3
@ -4,7 +4,7 @@
|
|||||||
"developers": ["132620781791346688", "132777808362471424"],
|
"developers": ["132620781791346688", "132777808362471424"],
|
||||||
"clientOptions": {
|
"clientOptions": {
|
||||||
"intents": [
|
"intents": [
|
||||||
"GUILD",
|
"GUILDS",
|
||||||
"GUILD_MEMBERS",
|
"GUILD_MEMBERS",
|
||||||
"GUILD_MESSAGES"
|
"GUILD_MESSAGES"
|
||||||
]
|
]
|
||||||
|
@ -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 { Logger, Intercom, EventHooker, LocaleLoader, Registry, Dispatcher, Resolver } = require('./client/');
|
||||||
const { Observer, Command } = require('./interfaces/');
|
const { Observer, Command } = require('./interfaces/');
|
||||||
@ -46,7 +46,7 @@ class DiscordClient extends Client {
|
|||||||
|
|
||||||
this.logger.info(`Built client in ${Date.now()-beforeTime}ms.`);
|
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.emit('built');
|
||||||
this._built = true;
|
this._built = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user