@bot.command()
async def play(ctx, url):
author = ctx.message.author
channel = author.voice.channel
if channel:
vc = await channel.connect()
await ctx.send("Bey Game à rejoins le salon vocal !")
else:
vc = author.voice.channel
player = await vc.create_ytdl_player(url)
player.start()
为什么不投放youtube音乐?
没有错误