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
2 Replies
d.js toolkit
d.js toolkit2d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Blast67
Blast67OP2d ago
Want results from more Discord servers?
Add your server