blob: 8a77374414d121770e0849b83d3ec6cb667ed490 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
using System.Text.Json.Serialization;
namespace Spacebar.ConfigModel;
public class LimitsConfiguration {
[JsonPropertyName("user")] public UserLimits User = new UserLimits();
[JsonPropertyName("guild")] public GuildLimits Guild = new GuildLimits();
[JsonPropertyName("message")] public MessageLimits Message = new MessageLimits();
[JsonPropertyName("channel")] public ChannelLimits Channel = new ChannelLimits();
[JsonPropertyName("rate")] public RateLimits Rate = new RateLimits();
[JsonPropertyName("absoluteRate")] public GlobalRateLimits AbsoluteRate = new GlobalRateLimits();
}
|