This commit is contained in:
CorwinDev committed 2022-07-30 16:19:58 +02:00
1 parent 900a4f65da
commit be8c70ab94
7 files changed
+118 -13

No files matched your search

+3 -2
View File
@@ -9,12 +9,13 @@ const client = new Client({
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessageTyping,
GatewayIntentBits.DirectMessages,
]
});
client.config = require('../config');
// Set intents
client.on('ready', () => {
console.log('Bot is ready!');
});
// Login
client.login(process.env.BOT_TOKEN);
client.login(client.config.bot.token);