Pārlūkot izejas kodu

Merge pull request #158 from iopred/develop

Fix user struct embedding in UserUpdate event.
Bruce 8 gadi atpakaļ
vecāks
revīzija
38ca716b15
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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.