1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

AuTo-pRoPeRtY CaN Be MaDe gEt-oNlY

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-07-11 00:41:51 +05:00
parent 23c259d357
commit fe4793f5f9
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF

View file

@ -15,7 +15,7 @@ public class Option<T> : IOption {
DefaultValue = defaultValue;
}
public string Name { get; init; }
public string Name { get; }
public object GetAsObject(JsonNode settings) {
return Get(settings)!;