DiscordChatExporterPy Versions Save

A simple Discord chat exporter for Python Discord bots.

2.3

1 year ago

DiscordChatExporterPy Release - v2.3

Big CSS update, updating quite a lot of the looks and feel for chat-exporter. Definitely looking for feedback for the latest template changes, feel free to let me know your thoughts within the Discord.

Fixed/Change:

  • Adjusted the _EmptyEmbed to allow for the latest Nextcord changes
  • Set military_time to be True by default (previously was False)
  • HTML Template Header - this now closely reflects how Discord presents a channel
  • Pinned (and Thread) message announcements no longer display as a blank message
  • Fixed html undefined error when internal error is brought up. This will now display just the actual error.
  • Changed the default date of messages to display as DD/MM/YYYY

Added:

  • Summary Menu (button - click 'Summary' top right): Displays ChannelID, Channel Creation Date, Total Messages, Total Participants, Timezone
  • Copy Message ID (RMB):Displays 'Copy Message ID' which will copy message idea on click
  • User Dialog (button - click message Username): Displays Account Creation Date, Message Count
  • Footer: Displays transcript creation date and time (in Timezone)
  • Time Display: Secondary messages display the time on the side panel when message is highlighted
  • Fancy Time: Time of messages will dynamically display as Today at X, Yesterday at X, Day at X and DD/MM/YYYY at X
  • Time Tooltips: Hovering over a message will display the full date and time of the message
  • __version__: Requested feature just to allow easily accessible way to see version of chat_exporter
  • fancy_times kwarg for .export() and quick_export() - I feel this can cause impact on performance, so enabled to toggle
  • support_dev kwarg for .export() and quick_export() - Removes Donate button in Summary menu 😭

Removed:

  • Unused CSS: There may be some more of this I will remove over time

Known Issues:

  • If you spot any other issues, please let me know via Discord or open a Github Issue

💜

2.2.2

1 year ago

DiscordChatExporterPy Release - v2.2.2

emoji recently updated their package, depreciating one of the kwargs used within chat-exporter, this hotfix removes the usage.

Fixed:

  • Removed use_aliases from emoji.demojize()

Added:

  • Nothing

Removed:

  • Nothing

Known Issues:

  • Pinned (and Thread) message announcements display as blank messages. This is currently solved within the development branch which will soon be released.
  • If you spot any other issues, please let me know via Discord or open a Github Issue

💜

2.2.1

1 year ago

DiscordChatExporterPy Release - v2.2.1

Quick hotfix to solve compatibility for Nextcord and Pycord

Fixed:

  • Display Icon: Checking attribute and using the Nextcord & Pycord method to also gather icon (Thank you Kapppa for the PR)

Added:

  • Nothing

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

2.2

1 year ago

DiscordChatExporterPy Release - v2.2

It has been a long time coming. Version 2.2 is now finally out! A bunch of changes, fixes and whatever else. I apologise for the delay, life called - I had to answer (for once).

Oh, and there is a new .link() function which will return a URL for you to preview the transcript online without the annoying downloads. Check out the README on how to use it!

Fixed:

  • Changed getting User Avatar to .display_avatar (Thank you Kapppa for the PR)
  • Fixed members displayed as <@Unknown> as opposed to <@ID> when they have left server (Thank you nmarotte)
  • Avatar on reference using the senders avatar and not the original author
  • Embed Button in the wrong location
  • Links containing < > were not previously handled correctly
  • Reference content including links escaped the content field
  • Fixed some Pycord issue (I think with embeds - my notes during development are terrible)
  • Fixed the display when the channel name included an emoji
  • Adjusted the CSS for emojis
  • Adjusted the CSS for emojis in buttons
  • Adjusted the CSS for emojis in dropdowns
  • Adjusted the CSS for menu and button placement
  • Fixed the display of button colours (they should be now Discord like)
  • Adjusted the CSS for button font (weight)
  • Adjusted code to solve for spacing issue when using the link to preview the exported chats
  • Code blocks breaking references
  • README

Added:

  • Returning Message object on .quick_export()
  • 24 hour support (set military_time to True)
  • Added link command to provide a link to view transcripts online (without having to download them locally)
  • Added support for roles which have icons

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

2.1.1

2 years ago

DiscordChatExporterPy Release - v2.1.1

Quick hot fix to allow chat-exporter to continue working with the most latest version of discord.py 2.0.0a

Fixed:

  • Checking embed attributes against either None or Embed.Empty
  • The placement of embeds within the message were in the wrong place when sent with attachments

Added:

  • Nothing

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

2.1

2 years ago

DiscordChatExporterPy Release - v2.1

This version of DiscordChatExporterPy is relatively small. It comes with a minor fix, and a re-add of the init_exporter function but via kwargs to the export function of your choosing. Not only that but with a change on how we gather messages this version works alongside the latest discord.py version (currently on their master) ahead of their great return.

Fixed:

  • Message reactions appearing before attachments (such as images, videos, files)
  • Method to gather messages for quick_export and export to work alongside the latest version of discord.py 🎉

Added:

  • bot keyword for all export types
    • The reason for this is to show mentioned members who have since left the guild, stopping them from appearing as @Unknown. This is an optional argument and up to you whether you would like to use this.

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

2.0

2 years ago

DiscordChatExporterPy Release - v2.0

Welp, here it is (finally)! Thank you to the people who helped me test this one on the different libraries, as well as all the bug reports and feature requests.

Fixed:

  • Discord Button alignment

Added:

  • Support for multiple Discord forks (Nextcord, Disnake, Pycord and more!)
  • Support for Discord Menus
  • Support for displaying 'disabled' interactions

Removed:

  • Support for Discord.py 1.7.3. Please use chat-exporter 1.7.3 if you use that version (ironic)
  • init_explorer function (it seems like you can get role colour without this now)

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

1.7.3

2 years ago

DiscordChatExporterPy Release - v1.7.3

Extremely minor release to provide the correct Discord invite link when creating transcripts.

This is the final update before I merge the latest works in to master which brings across 'breaking' changes for those using older versions of discord.py.

Fixed:

  • Discord Invite Link to mahto.id server

Added:

  • Nothing

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

1.7.2

2 years ago

DiscordChatExporterPy Release - v1.7.2

edpy made a breaking change. ctx.channel is now a PartialMessageable, meaning that it only had a .id attribute, this can be solved within your code by fetching the channel.

However, this change extended to ctx.guild - which was gathered from ctx.guild within the module. As a quick hotfix solution, I've added an optional keyword where you can fetch the Guild object in your code, and then pass in the guild (just like you'd pass the channel).

Fixed:

  • Nothing

Added:

  • Optional Keyword for Guild object

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜

1.7.1

2 years ago

DiscordChatExporterPy Release - v1.7.1

Whoops! This hotfix version contains 3 fixes to issues which existed (along with an appropriate change to how buttons look).

Fixed:

  • Emojis weren't running through the emoji converter for buttons
  • Links were not supported within the styles enum I cooked up
  • Message Reference (reply) avatars were displaying the wrong avatar

Added:

  • Better CSS for buttons to display in line
  • External URL/Attachment Icon to the button if it contains a link

Removed:

  • Nothing

Known Issues:

  • There are currently no known issues, so if you spot something - please let me know via Discord or open up a Github Issue.

💜