automatically restart my bot.
Restart my bot mean my build again deploy . How to do it? Any idea for it?
Any idea for it. I'm using typescript
About library they should have a support group
You must first call a command, that will start your bot and then kill the running bot software.
Yes you can use bot.stop() Then bot.start() but I don't recommend this way. My own solution would be child process command that you will use bash commands whenever the /restart event is triggered to run a script that will shut the bot down then start it again
Обсуждают сегодня