Put wait var back in.
This commit is contained in:
parent
956961ac3e
commit
7393438ea8
1 changed files with 1 additions and 0 deletions
1
voice.go
1
voice.go
|
@ -842,6 +842,7 @@ func (v *VoiceConnection) reconnect() {
|
||||||
// Close any currently open connections
|
// Close any currently open connections
|
||||||
v.Close()
|
v.Close()
|
||||||
|
|
||||||
|
wait := time.Duration(1)
|
||||||
for {
|
for {
|
||||||
|
|
||||||
<-time.After(wait * time.Second)
|
<-time.After(wait * time.Second)
|
||||||
|
|
Loading…
Reference in a new issue