Blast67
Blast67
DIAdiscord.js - Imagine an app
Created by Blast67 on 12/21/2024 in #djs-questions
Unresponsive bot + No errors
Hey y’all! Just ran into a quick problem. My bot is online and logging the ready event, but it’s not responding. There were no errors thrown in the terminal, and the message when it started was logged. Quite uncertain on what happened.
module.exports = (client) => {
client.on('ready', () => {
console.log(`${client.user.tag} has logged in!`);
});
};
module.exports = (client) => {
client.on('ready', () => {
console.log(`${client.user.tag} has logged in!`);
});
};
Additional on the main file
console.log("Starting the bot...");
// Something else here
client.once('ready', () => {
console.log("Bot is logged in and ready!");
});
console.log("Starting the bot...");
// Something else here
client.once('ready', () => {
console.log("Bot is logged in and ready!");
});
Thanks
3 replies