mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -1387,7 +1387,7 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
|
||||
}
|
||||
|
||||
private static async Task<(bool Success, FrozenSet<uint>? Result)> ResolveMarketableAppIDs(CancellationToken cancellationToken) {
|
||||
Bot? bot = Bot.Bots?.Values.FirstOrDefault(static targetBot => targetBot.IsConnectedAndLoggedOn);
|
||||
Bot? bot = Bot.Bots?.Values.FirstOrDefault(static targetBot => targetBot.IsConnectedAndLoggedOn && !string.IsNullOrEmpty(targetBot.AccessToken));
|
||||
|
||||
if (bot == null) {
|
||||
return (false, null);
|
||||
|
||||
Reference in New Issue
Block a user