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.
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.
Weird Repl Glitch
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.
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.