Przeglądaj źródła

Fix user struct embedding in UserUpdate event.

Chris Rhodes 8 lat temu
rodzic
commit
756bc98463
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      events.go

+ 1 - 1
events.go

@@ -140,7 +140,7 @@ type VoiceStateUpdate struct {
 
 
 // UserUpdate is a wrapper struct for an event.
 // UserUpdate is a wrapper struct for an event.
 type UserUpdate struct {
 type UserUpdate struct {
-	*UserUpdate
+	*User
 }
 }
 
 
 // UserSettingsUpdate is a map for an event.
 // UserSettingsUpdate is a map for an event.