浏览代码

Added comments

Bruce Marriner 9 年之前
父节点
当前提交
a878a5d306
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -489,7 +489,7 @@ func (s *Session) VoiceChannelJoin(guildID, channelID string) (err error) {
 func (s *Session) onVoiceStateUpdate(st VoiceState) {
 
 	// Need to have this happen at login and store it in the Session
-	self, err := s.User("@me")
+	self, err := s.User("@me") // TODO: move to Login/New
 	if err != nil {
 		fmt.Println(err)
 		return