2017-10-30 13 views
0

コード:私はこのエラーを取得していFFmpegは動作していない(discord.py)

channel = ctx.message.author.voice.voice_channel 
link = "https://youtube.com/watch?v=videoidhere" 
voice = await bot.join_voice_channel(channel) 
player = voice.create_ytdl_player(link) 
player.start() 

AttributeError: 'generator' object has no attribute 'start' 

はFFmpegのが を壊れている可能性がありますか?もしそうなら、私はFFmpegをアンインストールしてインストールフォルダを削除する方法を見つけることができません。

答えて

0

create_ytdl_playerはコルーチンです。だからあなたはその機能を待つべきです。

player = await voice.create_ytdl_player(link) 
関連する問題