elliebot/src/EllieBot/_common/Patronage/PatronConfigData.cs

17 lines
No EOL
490 B
C#

using EllieBot.Common.Yml;
using Cloneable;
namespace EllieBot.Modules.Patronage;
[Cloneable]
public partial class PatronConfigData : ICloneable<PatronConfigData>
{
[Comment("DO NOT CHANGE")]
public int Version { get; set; } = 3;
[Comment("Whether the patronage feature is enabled")]
public bool IsEnabled { get; set; }
[Comment("Who can do how much of what")]
public Dictionary<int, Dictionary<LimitedFeatureName, QuotaLimit>> Limits { get; set; } = new();
}