Ver Fonte

Move logging

Bruce Marriner há 8 anos atrás
pai
commit
af201919a0
1 ficheiros alterados com 2 adições e 0 exclusões
  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