Answer the question
In order to leave comments, you need to log in
How to make a Discord bot always work?
I have already written another code for the bot, and it works,
I run it through the console, and it is online
As soon as I close the console, the bot goes offline and does not execute the command
How to fix this?
Answer the question
In order to leave comments, you need to log in
To do this, the code must be placed on some host where it will be constantly executed, for example, pythonanywhere
You can leave the PC to work 24/7. But a better option would be hosting.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question