소스 검색

Move logging

Bruce Marriner 8 년 전
부모
커밋
af201919a0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      wsapi.go

+ 2 - 0
wsapi.go

@@ -460,6 +460,8 @@ type voiceChannelJoinOp struct {
 //    deaf    : If true, you will be set to deafened upon joining.
 func (s *Session) ChannelVoiceJoin(gID, cID string, mute, deaf bool) (voice *VoiceConnection, err error) {
 
+	s.log(LogInformational, "called")
+
 	// If a voice connection already exists for this guild then
 	// return that connection. If the channel differs, also change channels.
 	var ok bool