Move logging
This commit is contained in:
parent
7039cc47dc
commit
af201919a0
1 changed files with 2 additions and 0 deletions
2
wsapi.go
2
wsapi.go
|
@ -460,6 +460,8 @@ type voiceChannelJoinOp struct {
|
||||||
// deaf : If true, you will be set to deafened upon joining.
|
// 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) {
|
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
|
// If a voice connection already exists for this guild then
|
||||||
// return that connection. If the channel differs, also change channels.
|
// return that connection. If the channel differs, also change channels.
|
||||||
var ok bool
|
var ok bool
|
||||||
|
|
Loading…
Reference in a new issue