Ask coding questions

← Back to all posts
I just moved my discord.js bot to replit so I can host it 24/7
h
LemonizDev

Okay so I just moved my bot from vsc to replit so I could host it 24/7 for free. Everything worked smoothly when I ran the bot locally but when I ran the exact same code on replit, the bot has started responding twice for EVERYTHING. Idk if things are supposed to be this way tbh.
Take a look at the following image from my console, you can see two instances of the client. once ready console log which basically means there are two instances of the bot running now. I've tried to get help everywhere I could, I've restarted, refreshed, remade the repl multiple times, can anyone please help me out?

Voters
LemonizDev