mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Add default bot implementation (#3038)
* Add default bot implementation * Thought so * Brain damage for netf
This commit is contained in:
committed by
GitHub
parent
52eacaf577
commit
5d467aca9a
@@ -384,7 +384,7 @@ internal static class Logging {
|
||||
command = command[commandPrefix.Length..];
|
||||
}
|
||||
|
||||
Bot? targetBot = Bot.Bots?.OrderBy(static bot => bot.Key, Bot.BotsComparer).Select(static bot => bot.Value).FirstOrDefault();
|
||||
Bot? targetBot = Bot.GetDefaultBot();
|
||||
|
||||
if (targetBot == null) {
|
||||
Console.WriteLine($@"<< {Strings.ErrorNoBotsDefined}");
|
||||
|
||||
Reference in New Issue
Block a user