瀏覽代碼

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