Fix crosspost ratelimits (#2100)

This commit is contained in:
Quin Lynch
2022-02-12 06:51:36 -04:00
committed by GitHub
parent 503d32aa7e
commit fad217e8bc
4 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Discord.API
{
internal class Ratelimit
{
[JsonProperty("global")]
public bool Global { get; set; }
[JsonProperty("message")]
public string Message { get; set; }
[JsonProperty("retry_after")]
public double RetryAfter { get; set; }
}
}