Browse Source

Fix GuildBans.

Chris Rhodes 8 years ago
parent
commit
8f6d44ccee
1 changed files with 2 additions and 2 deletions
  1. 2 2
      events.go

+ 2 - 2
events.go

@@ -120,13 +120,13 @@ type GuildDelete struct {
 
 // GuildBanAdd is a wrapper struct for an event.
 type GuildBanAdd struct {
-	*User
+	User    *User  `json:"user"`
 	GuildID string `json:"guild_id"`
 }
 
 // GuildBanRemove is a wrapper struct for an event.
 type GuildBanRemove struct {
-	*User
+	User    *User  `json:"user"`
 	GuildID string `json:"guild_id"`
 }