Fix command mabadd working incorrectly (#2390)

* Fix command mabadd working incorrectly

* Do the same for mabrm
This commit is contained in:
Sebastian Göls 2021-07-28 22:43:17 +02:00 committed by GitHub
parent 862238f46b
commit 5cbc25c44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1902,7 +1902,7 @@ namespace ArchiSteamFarm.Steam.Interaction {
appIDs.Add(appID);
}
return FormatBotResponse(Bot.BotDatabase.IdlingBlacklistedAppIDs.AddRange(appIDs) ? Strings.Done : Strings.NothingFound);
return FormatBotResponse(Bot.BotDatabase.MatchActivelyBlacklistedAppIDs.AddRange(appIDs) ? Strings.Done : Strings.NothingFound);
}
private static async Task<string?> ResponseMatchActivelyBlacklistAdd(ulong steamID, string botNames, string targetAppIDs) {
@ -1960,7 +1960,7 @@ namespace ArchiSteamFarm.Steam.Interaction {
appIDs.Add(appID);
}
return FormatBotResponse(Bot.BotDatabase.IdlingBlacklistedAppIDs.RemoveRange(appIDs) ? Strings.Done : Strings.NothingFound);
return FormatBotResponse(Bot.BotDatabase.MatchActivelyBlacklistedAppIDs.RemoveRange(appIDs) ? Strings.Done : Strings.NothingFound);
}
private static async Task<string?> ResponseMatchActivelyBlacklistRemove(ulong steamID, string botNames, string targetAppIDs) {