Bruce Marriner 9 gadi atpakaļ
vecāks
revīzija
a878a5d306
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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