title: how to code my bot to generate random images from one command
body: <p>I have looked before deciding to make this post. I have tried some codes from answers, but they have not worked for me. Note that I am new with coding in general; I started using Python for about a week now. I managed to code my Discord bot to generate random images from one command, however I don't think I made it correctly. The images are sent at random, but their links show in the bot's messages. Here is the code I have for it:</p>
  
  <pre><code>client = Bot(command_prefix=BOT_PREFIX)
  
  @client.event
  async def on_message(message):
      if message.content.upper().startswith("?DOG"):
          jessie1 = "https://cdn.discordapp.com/attachments/432563417887277060/484484259386621993/22B25E7A-3157-4C23-B889-47ECFE8A15A9.jpg"
          snowy = "https://cdn.discordapp.com/attachments/487045791697862666/487390822485065749/824B6151-E818-49A4-A564-C2C752ED6384.jpg"
          await client.send_message(message.channel, random.choice([snowy, jessie1]))
  </code></pre>
  
  <p>I am using two images as examples for now as there are a lot more that I do not want to include all at once. </p>
  
  <p>I am able to generate these two images at random by using one command, but I don't know how to code so that their links won't appear in the bot's message as it sends the images. </p>
  
  <p>I want to know if there is a way to do so without making a huge change to the code that I have at this moment. However, if there is an efficient/correct way of doing it, I will gladly take your advice for better experience.</p>
  
  <p>If all goes well, I would also like to add a message for the bot to say when it sends those images. I do have an idea on how to do so, but I need to solve my first issue first xD</p>