title: Playing local audio files with discord bot
body: <p>lately I'm been working on my first python discord bot, using replit. I want to make it play a specific audio file that I've already uploaded. The bot would receive a text command like $song for example and play the file.</p>
  <p>This is what I have for a list of images:</p>
  <pre><code>    @client.event
  async def on_message(message):
    if message.author == client.user: 
      return
    
    msg = message.content
  
    if message.content.startswith('$pic'):
      await message.channel.send(file=discord.File(random.choice(imagens)))
  
  </code></pre>
  <p>I would like to make something like that for audio if possible.
  Would appreciate some help.</p>