mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Misc !play correction
This commit is contained in:
@@ -236,7 +236,7 @@ namespace ArchiSteamFarm {
|
|||||||
return await ResponsePause(steamID, true, args[1]).ConfigureAwait(false);
|
return await ResponsePause(steamID, true, args[1]).ConfigureAwait(false);
|
||||||
case "PLAY":
|
case "PLAY":
|
||||||
if (args.Length > 2) {
|
if (args.Length > 2) {
|
||||||
return await ResponsePlay(steamID, args[1], Utilities.GetArgsAsText(args, 2, ",")).ConfigureAwait(false);
|
return await ResponsePlay(steamID, args[1], Utilities.GetArgsAsText(message, 2)).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
return await ResponsePlay(steamID, args[1]).ConfigureAwait(false);
|
return await ResponsePlay(steamID, args[1]).ConfigureAwait(false);
|
||||||
@@ -1555,7 +1555,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
foreach (string game in games) {
|
foreach (string game in games) {
|
||||||
if (!uint.TryParse(game, out uint gameID) || (gameID == 0)) {
|
if (!uint.TryParse(game, out uint gameID) || (gameID == 0)) {
|
||||||
gameName.AppendLine((gameName.Length > 0 ? " " : "") + game);
|
gameName.Append((gameName.Length > 0 ? " " : "") + game);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user