discord-html-transcripts

A node.js library for generating nicely formatted HTML transcripts with discord.js

APACHE-2.0 License

Downloads
16.5K
Stars
208
Committers
12
discord-html-transcripts - v3.2.0 Latest Release

Published by ItzDerock about 1 year ago

✨ What's Changed

New Contributors

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.1.5...v3.2.0

discord-html-transcripts - v3.1.5

Published by ItzDerock about 1 year ago

✨ What's Changed

New Contributors

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.1.4...v3.1.5

discord-html-transcripts - v3.1.4

Published by ItzDerock over 1 year ago

✨ What's Changed

  • Fixes twemoji parsing, all emojis pre-unicode 15 should work now. (#113)
  • Removed unnecessary dependency html-minifier (#110)
  • updated some other dependencies

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.1.3...v3.1.4

discord-html-transcripts - v3.1.3

Published by ItzDerock over 1 year ago

✨ What's Changed

πŸ› Bug Fixes

New Contributors

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.1.2...v3.1.3

discord-html-transcripts - v3.1.2

Published by ItzDerock about 2 years ago

πŸ› Bug Fixes

  • fix: broken transcripts due to parsing incorrect package.json 92d54951122900bcea510e7e55fe4ef61fcea107
discord-html-transcripts - v3.1.1

Published by ItzDerock about 2 years ago

πŸ› Bug Fixes

πŸš€ Performance Changes

  • perf: switched to jsdelivr cdn for faster loading 55a213cb759dcb6f7ff2c4d690dde8bab41a10b0
    • (discord-components) moved fonts to jsdelivr
  • perf: limit the avatar image dimensions on replies 00475deac31c57f86f3dd9f539925932fd3ae4ed

New Contributors

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.1.0...v3.1.1

discord-html-transcripts - v3.1.0

Published by ItzDerock about 2 years ago

✨ What's Changed

πŸ› Bug Fixes

New Contributors

Full Changelog: https://github.com/ItzDerock/discord-html-transcripts/compare/v3.0.0...v3.1.0

discord-html-transcripts - πŸ₯³v3.0.0

Published by ItzDerock about 2 years ago

⚠️ IMPORTANT

discord.js v13 is no longer supported! Please downgrade to discord-html-transcripts@^2
The deprecated returnBuffer boolean option has been removed in favor of returnType: 'buffer'

✨ What's new?

  • Completely overhauled markdown parsing
    • #54 #39 Added block quote support
    • #42 Fixed url parsing
  • #36 Support for buttons
  • @User used /command now shows on interaction responses
  • Added support for system messages
    • User joins
    • Boosts
    • Pinned Messages
    • Thread created
  • Added support for all text-based channels
  • Now uses react server-side rendering and web-components
discord-html-transcripts - 2.6.1

Published by ItzDerock about 2 years ago

πŸ› Bug Fixes

  • #51 Fixed a bug where if the message contains a hyperlink, the entire message would become hyperlinked.
  • #59 Merged a fix for not fetching all messages.
  • #53 Fixed a bug where saveImages set to true would put all images at bottom of transcript.
discord-html-transcripts - 2.6.0

Published by ItzDerock over 2 years ago

πŸ› Bug Fixes

  • #49 Fix v14 support
    • Since v14 is now the latest stable release of discord.js, v13 support will be deprecated and may be removed in a future update (probably when djs deprecates it)
  • #45 Fixed a bug where one super long string would overflow the page.

✨ New Features

  • #45 Message timestamps will now be formatted in the user's local timezone.
discord-html-transcripts - 2.5.8

Published by ItzDerock over 2 years ago

πŸ› Bug Fixes

  • #40 Fixed v14 support
  • Fixed the url checking regex. (it would incorrectly flag messages as url only)
  • #41 Fixes v12 support (? not fully tested)
discord-html-transcripts - 2.5.7

Published by ItzDerock over 2 years ago

πŸ› Bug Fixes

  • #35 Fixes a bug where the package would not grab more than the first 100 messages.
  • If minification fails, it will error to console but will not cause a crash. (instead returns unminified code)
discord-html-transcripts - 2.5.6

Published by ItzDerock over 2 years ago

✨ What's Changed?

  • #32 Added support for reactions
  • #33 Added support for role mentions
  • #34 Added support for discord.js v14 (discord.js@dev)
discord-html-transcripts - 2.5.5

Published by ItzDerock over 2 years ago

✨ What's Changed?

⚠️ generateFromMessages IS NO LONGER SYNCRONOUS, YOU WILL NEED TO await IT!

  • Added saveImages option to save images as base64 and embed it in the img tag. (#31)
    • Prevents deleted images from disappearing from the transcript.
  • Added useCDN to use a cdn that hosts the css rather than bundling in the css in the html.
    • Reduces the filesize of the generated transcript.

πŸ› Bug Fixes

  • Fixed a bug where attachments would appear next to text content
    image
  • Removed discord.js as a dependency (you are expected to have it installed)
    • Prevents issues caused by mismatched discord.js versions

πŸ› οΈ Developer Updates (only affects source)

  • Moved build to a build.mjs file to easily automate the building process cross platforms
Package Rankings
Top 3.29% on Npmjs.org
Badges
Extracted from project README
Discord npm
Related Projects