Bruce Marriner 9 rokov pred
rodič
commit
a878a5d306
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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) {
 func (s *Session) onVoiceStateUpdate(st VoiceState) {
 
 
 	// Need to have this happen at login and store it in the Session
 	// 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 {
 	if err != nil {
 		fmt.Println(err)
 		fmt.Println(err)
 		return
 		return