mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Fix wrong access for version command
FamilySharing is alright, as per the wiki
This commit is contained in:
@@ -3432,7 +3432,7 @@ public sealed class Commands {
|
||||
throw new InvalidEnumArgumentException(nameof(access), (int) access, typeof(EAccess));
|
||||
}
|
||||
|
||||
return access >= EAccess.Operator ? FormatBotResponse(string.Format(CultureInfo.CurrentCulture, Strings.BotVersion, SharedInfo.ASF, SharedInfo.Version)) : null;
|
||||
return access >= EAccess.FamilySharing ? FormatBotResponse(string.Format(CultureInfo.CurrentCulture, Strings.BotVersion, SharedInfo.ASF, SharedInfo.Version)) : null;
|
||||
}
|
||||
|
||||
private string? ResponseWalletBalance(EAccess access) {
|
||||
|
||||
Reference in New Issue
Block a user