R
R
rama_jecboom2021-02-01 22:08:28
Node.js
rama_jecboom, 2021-02-01 22:08:28

How to enable bot?

Good afternoon, I have a discord bot, which is rare, but it can crash. well, in the bat`nik it is written "press the button to close ...", etc. . How can I make it so that when this gets out, the bot itself automatically restarts?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-02-01
@Alexandre888

client.on("error", error => { . . . })

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question