auto reset #849
-
If the bot works for too long, it leads to a lavalink error, can you add the time for the file to auto reset? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Scripts like that can vary depending on the OS you're running it on, also please check if it isn't a hosting problem instead. Check if the problem originates from the Lavalink or the Bot itself not being able to make the connection. |
Beta Was this translation helpful? Give feedback.
-
I'm running windows server 2019 operating system, the bot was normal at first, but it took about a week to use the command, it reported an error that could not connect to lavalink, after resetting the bot, it was normal |
Beta Was this translation helpful? Give feedback.
-
Same problem, host on ubuntu 21.04 |
Beta Was this translation helpful? Give feedback.
-
Well, the lavalink is the problem ¯_(ツ)_/¯ |
Beta Was this translation helpful? Give feedback.
-
Or is there a command to reset the bot (/reload) ? |
Beta Was this translation helpful? Give feedback.
-
Well technically if the lavalink is brokey, even if you reload it, it will still be like that |
Beta Was this translation helpful? Give feedback.
-
also, there's no such thing as "resetting the bot". Yes you can reload the commands, in fact there's a command like that in v5 iirc. If you mean resetting the code itself, well you cant, the code will be killed entirely. But if you meam relogging the bot to discord.js (basically logging out and then login in again) well you can but that won't solve the lavalink issue either, it can only solve the Slash Commands, and some stuff |
Beta Was this translation helpful? Give feedback.
-
the best thing to do is to find or host a good lavalink |
Beta Was this translation helpful? Give feedback.
the best thing to do is to find or host a good lavalink