mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Add missed condition for steam awards
This commit is contained in:
@@ -104,6 +104,10 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
private async Task VoteForSteamAwards() {
|
||||
if (!Bot.IsConnectedAndLoggedOn) {
|
||||
return;
|
||||
}
|
||||
|
||||
HtmlDocument htmlDocument = await Bot.ArchiWebHandler.GetSteamAwardsPage().ConfigureAwait(false);
|
||||
|
||||
HtmlNodeCollection nominationNodes = htmlDocument?.DocumentNode.SelectNodes("//div[@class='vote_nominations store_horizontal_autoslider']");
|
||||
|
||||
Reference in New Issue
Block a user