discorddiscord.pyticket-system

Create transcript of discord channel


Is it possible to create an archive of a channel using discord.py? I have tried following this: discrod.py Text channel history to HTML file, however it:

  1. Didn't send the file, no matter what I tried;
  2. When I opened the file through the browser, it didn't create the style you see in ticket bots.

I am using discord-components, so therefore chat_exporter doesn't work due to a bug. Does anyone know how to do this?


Solution

  • The answer on The original post is now working however, the answer by Bram does also work. With the solution on the original post, chat-exporter will not work alongside discord-components, though there may be a fix for the issue soon (either by discord-components updating, or discord.py 2.0 releasing)