Fix wrong access for version command

FamilySharing is alright, as per the wiki
This commit is contained in:
Archi
2023-11-11 14:53:44 +01:00
parent fc13f2c488
commit e44b7d3248

View File

@@ -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) {