mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 08:23:35 +03:00
13 lines
357 B
C#
13 lines
357 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 ValueEquals(JsonNode settings, string value, out bool equals);
|
|
Result Set(JsonNode settings, string from);
|
|
Result Reset(JsonNode settings);
|
|
}
|