M
M
Maksim I won't tell2020-04-13 21:28:31
Python
Maksim I won't tell, 2020-04-13 21:28:31

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

2 answer(s)
T
Timur Pokrovsky, 2020-04-13
@ShadowP22

To do this, the code must be placed on some host where it will be constantly executed, for example, pythonanywhere

V
Vadim Antonov, 2020-04-15
@StanyZz

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 question

Ask a Question

731 491 924 answers to any question