1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-04 00:29:04 +00:00

gateway: fix Joined field in GuildCreateEvent (#193)

This commit is contained in:
Starshine System 2021-04-12 01:56:05 +02:00 committed by GitHub
parent cafff103e5
commit 20166f33cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ type (
GuildCreateEvent struct { GuildCreateEvent struct {
discord.Guild discord.Guild
Joined discord.Timestamp `json:"timestamp,omitempty"` Joined discord.Timestamp `json:"joined_at,omitempty"`
Large bool `json:"large,omitempty"` Large bool `json:"large,omitempty"`
Unavailable bool `json:"unavailable,omitempty"` Unavailable bool `json:"unavailable,omitempty"`
MemberCount uint64 `json:"member_count,omitempty"` MemberCount uint64 `json:"member_count,omitempty"`