Im making a discord bot, and all of sudden the bot started sending messages twice, from experiment i found out: the code running when it’s not supposed to be running is an older version of the code (if i make a line of code it doesnt have that line) and idk how to stop that
Welcome to Ask! Several people have had Replit run their projects twice recently; I don’t think Replit was able to reproduce the issue. If you can find a solid way to reproduce it maybe Replit can fix the bug.
Yes I’m aware, but even if the code is not running, this older version continues working. The problem is not in the code (I believe), it feels like an old backup that is still running
While the recent issue doesn’t have a true fix currently, running kill 1 in the Repl’s Shell tab will force a Repl restart, and will kill the old and new processes.