Update BetterAtHome.cs
Hard login errors no longer kill the bot, now it will wait 5 mins before trying again
This commit is contained in:
parent
0ad74a5b4f
commit
bc8ea73b41
1 changed files with 3 additions and 1 deletions
|
|
@ -296,7 +296,9 @@ namespace BetterSecondbot.BetterAtHome
|
||||||
{
|
{
|
||||||
if (whyfailed.Contains("presence") == false)
|
if (whyfailed.Contains("presence") == false)
|
||||||
{
|
{
|
||||||
SetBetterAtHomeAction("[DC] Unable to continue: " + whyfailed);
|
LastLoginEvent = helpers.UnixTimeNow() + (5 * 60);
|
||||||
|
SetBetterAtHomeAction("[DC] Hard login error: " + whyfailed+ " Waiting 5 mins to retry - If your using a VPN please check it!");
|
||||||
|
LoginFailed = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue