Ver Fonte

Merge pull request #158 from iopred/develop

Fix user struct embedding in UserUpdate event.
Bruce há 8 anos atrás
pai
commit
38ca716b15
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      events.go

+ 1 - 1
events.go

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