<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BeyGame Officiel FR</title>
    <description>The latest articles on DEV Community by BeyGame Officiel FR (@scriptingbeyrbx).</description>
    <link>https://dev.to/scriptingbeyrbx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F409534%2F957de1c7-d3ba-4a28-987f-bab1c7d01b76.png</url>
      <title>DEV Community: BeyGame Officiel FR</title>
      <link>https://dev.to/scriptingbeyrbx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/scriptingbeyrbx"/>
    <language>en</language>
    <item>
      <title>Discord bot Python </title>
      <dc:creator>BeyGame Officiel FR</dc:creator>
      <pubDate>Mon, 15 Jun 2020 15:09:45 +0000</pubDate>
      <link>https://dev.to/scriptingbeyrbx/discord-bot-python-39d3</link>
      <guid>https://dev.to/scriptingbeyrbx/discord-bot-python-39d3</guid>
      <description>&lt;p&gt;It does not work I think I am out of date, please help me&lt;/p&gt;

&lt;p&gt;Error : Command raised an exception: AttributeError: 'VoiceClient' object has no attribute 'create_ytdl_player'&lt;/p&gt;

&lt;p&gt;My code:&lt;/p&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

@bot.command(pass_context=True)
async def play(ctx, url):
    author = ctx.message.author
    channel = author.voice.channel
    vc = await channel.connect()
    player = await vc.create_ytdl_player(url)
    player.start()
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

</description>
      <category>discord</category>
      <category>python</category>
      <category>bot</category>
    </item>
  </channel>
</rss>
