forked from pothtonswer/discordmuffin
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
|
||||
v.Close()
|
||||
|
||||
wait := time.Duration(1)
|
||||
for {
|
||||
|
||||
<-time.After(wait * time.Second)
|
||||
|
|
Loading…
Reference in a new issue