Worlds biggest commit
forgot to make it a separate goroutine
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ func handlePlaySound(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if user != nil && guild != nil && sound != nil && soundCollection != nil {
|
if user != nil && guild != nil && sound != nil && soundCollection != nil {
|
||||||
enqueuePlay(user, guild, soundCollection, sound)
|
go enqueuePlay(user, guild, soundCollection, sound)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user