Fix GuildBans.
This commit is contained in:
parent
ed7a451a31
commit
8f6d44ccee
1 changed files with 2 additions and 2 deletions
|
@ -120,13 +120,13 @@ type GuildDelete struct {
|
||||||
|
|
||||||
// GuildBanAdd is a wrapper struct for an event.
|
// GuildBanAdd is a wrapper struct for an event.
|
||||||
type GuildBanAdd struct {
|
type GuildBanAdd struct {
|
||||||
*User
|
User *User `json:"user"`
|
||||||
GuildID string `json:"guild_id"`
|
GuildID string `json:"guild_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GuildBanRemove is a wrapper struct for an event.
|
// GuildBanRemove is a wrapper struct for an event.
|
||||||
type GuildBanRemove struct {
|
type GuildBanRemove struct {
|
||||||
*User
|
User *User `json:"user"`
|
||||||
GuildID string `json:"guild_id"`
|
GuildID string `json:"guild_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue