mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
refactor: return the promise on the playradio function
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user