Explorar o código

Merge pull request #158 from iopred/develop

Fix user struct embedding in UserUpdate event.
Bruce %!s(int64=8) %!d(string=hai) anos
pai
achega
38ca716b15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.