mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 17:19:00 +03:00
13 lines
346 B
C#
13 lines
346 B
C#
using System.Text.Json.Nodes;
|
|
using Remora.Results;
|
|
|
|
namespace TeamOctolings.Octobot.Data.Options;
|
|
|
|
public interface IGuildOption
|
|
{
|
|
string Name { get; }
|
|
string Display(JsonNode settings);
|
|
Result<bool> ValueEquals(JsonNode settings, string value);
|
|
Result Set(JsonNode settings, string from);
|
|
Result Reset(JsonNode settings);
|
|
}
|