forked from pothtonswer/discordmuffin
Add RateLimit struct
This commit is contained in:
parent
b5e45827fd
commit
70d420f16b
1 changed files with 5 additions and 0 deletions
|
@ -273,6 +273,11 @@ type Ready struct {
|
|||
PrivateChannels []*Channel `json:"private_channels"`
|
||||
Guilds []*Guild `json:"guilds"`
|
||||
}
|
||||
type RateLimit struct {
|
||||
Bucket string `json:"bucket"`
|
||||
Message string `json:"message"`
|
||||
RetryAfter time.Duration `json:"retry_after"`
|
||||
}
|
||||
|
||||
// A ReadState stores data on the read state of channels.
|
||||
type ReadState struct {
|
||||
|
|
Loading…
Reference in a new issue