Im new at this discord.py thing. I've just done a discord.py bot, it works ok, but sometimes the bot repeats constantly the command messages.
I googled this problem and found out that maybe is for running the script over and over again (like when you save and run after edited or added functions).
So I want to stop running the process, just like when I restart windows, the bot is offline (if I run the script after restarting windows, the bot acts normaly).
Pls help
If someone needs the code, I can paste it here then.
PD: I made the bot exact as a tutorial...
just type exit in visual studio code output terminal and your bot will be disconnected. Enjoy the day
How to stop running discord bot process (python)