mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Change default !pause to be sticky
non-sticky pause is !pause~ now
This commit is contained in:
@@ -588,9 +588,9 @@ namespace ArchiSteamFarm {
|
||||
case "!PASSWORD":
|
||||
return ResponsePassword(steamID);
|
||||
case "!PAUSE":
|
||||
return await ResponsePause(steamID, false).ConfigureAwait(false);
|
||||
case "!PAUSE^":
|
||||
return await ResponsePause(steamID, true).ConfigureAwait(false);
|
||||
case "!PAUSE~":
|
||||
return await ResponsePause(steamID, false).ConfigureAwait(false);
|
||||
case "!REJOINCHAT":
|
||||
return ResponseRejoinChat(steamID);
|
||||
case "!RESUME":
|
||||
@@ -649,9 +649,9 @@ namespace ArchiSteamFarm {
|
||||
case "!PASSWORD":
|
||||
return await ResponsePassword(steamID, args[1]).ConfigureAwait(false);
|
||||
case "!PAUSE":
|
||||
return await ResponsePause(steamID, args[1], false).ConfigureAwait(false);
|
||||
case "!PAUSE^":
|
||||
return await ResponsePause(steamID, args[1], true).ConfigureAwait(false);
|
||||
case "!PAUSE~":
|
||||
return await ResponsePause(steamID, args[1], false).ConfigureAwait(false);
|
||||
case "!PLAY":
|
||||
if (args.Length > 2) {
|
||||
return await ResponsePlay(steamID, args[1], args[2]).ConfigureAwait(false);
|
||||
@@ -2398,8 +2398,10 @@ namespace ArchiSteamFarm {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!IsMaster(steamID) && !SteamFamilySharingIDs.Contains(steamID)) {
|
||||
return null;
|
||||
if (!IsMaster(steamID)) {
|
||||
if (sticky || !SteamFamilySharingIDs.Contains(steamID)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
if (!IsConnectedAndLoggedOn) {
|
||||
|
||||
Reference in New Issue
Block a user