Fix param to ChannelVoiceJoin
This commit is contained in:
parent
2ebf8bdb10
commit
a97d89e1de
1 changed files with 1 additions and 1 deletions
2
voice.go
2
voice.go
|
@ -831,7 +831,7 @@ func (v *VoiceConnection) reconnect() {
|
|||
|
||||
v.log(LogInformational, "trying to reconnect to channel %s", v.ChannelID)
|
||||
|
||||
_, err := v.session.ChannelVoiceJoin(gID, v.ChannelID, v.mute, v.deaf)
|
||||
_, err := v.session.ChannelVoiceJoin(v.GuildID, v.ChannelID, v.mute, v.deaf)
|
||||
if err == nil {
|
||||
v.log(LogInformational, "successfully reconnected to channel %s", v.ChannelID)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue