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...
Easy way to solve this is by regenerating your bot token. Doing so will shutdown all active scripts. For anyone new to the Discord API, if you ever get an error that says something on the lines of 'Access Denied,' this solution should also help you.
How to stop running discord bot process (python)