refactor: return the promise on the playradio function

This commit is contained in:
2022-10-12 20:28:55 +02:00
parent 62d6296fae
commit 802283f507

View File

@@ -52,7 +52,7 @@ export default commandModule({
connection.subscribe(player)
player.play(resource)
resource.volume!.setVolume(0.7)
ctx.reply({embeds: [embed], ephemeral: true})
await ctx.reply({embeds: [embed], ephemeral: true})
}
if (radioname === 'Rock FM') {