I’m working on a discord bot in python in Visual Studio Code. I went on vacation about a week ago and uploaded my current code to github before I left with the intent of working on it when I had some downtime, which I didn’t end up doing. Returning home and attempting to run the bot, my bot would load everything from my cogs folder, the bot would start running, but it wouldn’t respond to any commands. No error messages, nothing. After a while, the bot would just go offline. Debug text in the terminal
After multiple hours of trying to debug, I coppied the code into a new .py file that wasn’t uploaded to github, and low and behold, it works just fine, commands and all.
Original main.py uploaded to github
New main file I just made
Does anyone know what happened? I’m insanely confused.
A_Random_Nerd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.