Bruce Marriner před 9 roky
rodič
revize
a878a5d306
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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