瀏覽代碼

Merge pull request #158 from iopred/develop

Fix user struct embedding in UserUpdate event.
Bruce 8 年之前
父節點
當前提交
38ca716b15
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.