mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
14 lines
394 B
C#
14 lines
394 B
C#
using System.Text.Json.Nodes;
|
|
using Remora.Results;
|
|
|
|
namespace TeamOctolings.Octobot.Data.Options;
|
|
|
|
public interface IGuildOption
|
|
{
|
|
string Name { get; }
|
|
string Value(JsonNode settings);
|
|
string Display(JsonNode settings);
|
|
Result ValueEquals(JsonNode settings, string value, out bool equals);
|
|
Result Set(JsonNode settings, string from);
|
|
Result Reset(JsonNode settings);
|
|
}
|