This repository has been archived on 2025-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Octobot/TeamOctolings.Octobot/Data/Options/IOption.cs

12 lines
278 B
C#

using System.Text.Json.Nodes;
using Remora.Results;
namespace TeamOctolings.Octobot.Data.Options;
public interface IOption
{
string Name { get; }
string Display(JsonNode settings);
Result Set(JsonNode settings, string from);
Result Reset(JsonNode settings);
}