From 802283f507b0308aea32432b76f2f3546cb9d677 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 12 Oct 2022 20:28:55 +0200 Subject: [PATCH] refactor: return the promise on the playradio function --- commands/misc/radio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/radio.ts b/commands/misc/radio.ts index c08c4bf..6db0733 100644 --- a/commands/misc/radio.ts +++ b/commands/misc/radio.ts @@ -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') {