title: discrod.py Text channel history to HTML file
body: <p>I am looking for a way to export a text channel. To an HTML so that i can delete the channel.</p>
  <p>I have seen this on another bot, Here is a photo.
  <a href="https://i.stack.imgur.com/5X7Lm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5X7Lm.png" alt="enter image description here" /></a></p>
  <pre class="lang-py prettyprint-override"><code>@bot.command()
  async def export(ctx):
      # get the html here for ctx.channel
   
      await ctx.send(file=HTML)
  </code></pre>