title: Discord.py: How do I add an image in my discord bot's rich presence?
body: <p>I was working on a bot recently and I got to know that I can add images in Bot's Rich presence too. So I created another Bot to test it. I read the <a href="https://discordpy.readthedocs.io/en/latest/api.html?highlight=activity#discord.Activity" rel="nofollow noreferrer">documentation</a> for it and gave it a try but didn't get any result.</p>
  <p>The code:</p>
  <pre><code>import discord
  from discord.ext import commands
  
  ndcr = commands.Bot(command_prefix='&gt;', intents=discord.Intents.all(), case_insensitive=True)
  
  @ndcr.event
  async def on_ready():
      print(&quot;ONLINE NOW ;)&quot;)
      botactivity = discord.Activity(type=discord.ActivityType.watching, name=&quot;for crimes in New Delhi and conducting hearings for them.&quot;, large_image_url='https://www.kindpng.com/picc/m/290-2907032_court-quest-court-clipart-hd-png-download.png')
      await ndcr.change_presence(activity=botactivity, status=discord.Status.do_not_disturb)
  
  
  ndcr.run('Hidden Bruh. Why do you wanna see it? :/')
  </code></pre>
  <p>So what I want is that is show me the image I want it to. <a href="https://www.kindpng.com/picc/m/290-2907032_court-quest-court-clipart-hd-png-download.png" rel="nofollow noreferrer">This</a> is the image I want to add in the presence.</p>
  <p>This is how the presence look even after this code:</p>
  <p><a href="https://i.stack.imgur.com/mtsrz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mtsrz.png" alt="Current Presence" /></a></p>
  <p>Note: I have tried adding this link in <code>small_image_text</code> and <code>large_image_text</code> already. Once each time. Yet no luck.</p>
  <hr />
  <p>Please let me know if there is anything I am doing wrong and if possible give me some example with respect to my code.</p>
  <p>Thank You! :D</p>