Ask coding questions

← Back to all posts
Weird Repl Glitch
MrTechy11 (0)

So, I'm making a Discord Bot on here, and there's this weird glitch where if I press the "run" button, everything works fine, but when I do a command on Discord it responds twice. Whenever I stop the repl, the bot stays online and only replies once. I was really confused, does anyone know if this is an intended feature? Thanks.

ErrorNoInternet (13)

Your Discord bot is still running somewhere else.
So if the one in your REPL is running, they both respond to the command. And if the REPL is not running, only the other one is responding.

MrTechy11 (0)

@ErrorNoInternet The thing is that the repl is the only place where I host my bot...