DEV Community 👩‍💻👨‍💻

BeyGame Officiel FR
BeyGame Officiel FR

Posted on

Discord bot Python

It does not work I think I am out of date, please help me

Error : Command raised an exception: AttributeError: 'VoiceClient' object has no attribute 'create_ytdl_player'

My code:

async def play(ctx, url):
    author =
    channel =
    vc = await channel.connect()
    player = await vc.create_ytdl_player(url)

Top comments (0)

Create an Account!
Now it's your turn!
🗒 Share a tutorial
🤔 Reflect on your coding journey
❓ Ask a question

Create an account to join hundreds of thousands of DEV members on their journey.