Explorar el Código

Added comments

Bruce Marriner hace 9 años
padre
commit
a878a5d306
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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