title: How do I get a random subreddit image to my discord.py bot?
body: <p>I am making a discord bot in async python.
  I want the bot to post a <strong>random</strong> picture when I do a command (prefix !) example !meme. This would bring up a random picture from a subreddit, in this case the memes subreddit. I have made the start to what I want, but I need help with the random subreddit bit.</p>
  <pre class="lang-py prettyprint-override"><code>import discord
  import praw
  from discord.ext import commands
  
  bot = commands.Bot(description=&quot;test&quot;, command_prefix=&quot;!&quot;)
  
  @bot.command()
  async def meme():
      await bot.say(---)   
      #--- WOULD BE THE REDDIT URL
      bot.run(&quot;TOKEN&quot;)
  </code></pre>
  <p><strong>How would I do this, using discord.py and PRAW?</strong></p>