Giter Site home page Giter Site logo

Comments (7)

slatinsky avatar slatinsky commented on August 29, 2024

If markdown processing it turned on (default) in DiscordChatExporter, emoji ids are stripped from the export.

My frontend is finds all emojis used in reactions, and uses them to replace emojis in message content. Sometimes successfully, sometimes not (if the emoji was only used in message content and never in any reaction).

If you turn off markdown processing in DiscordChatExporter --markdown false and enable internet access in DiscordChatExporter-frontend, emojis from other servers will render correctly.

I can't fix this, sorry. It is missing from the export made by DiscordChatExporter.

from discordchatexporter-frontend.

Shadowmech88 avatar Shadowmech88 commented on August 29, 2024

What are the ramifications of not using markdown processing? The emoji not rendering are annoying, but would the export as a whole look much worse without markdown?

from discordchatexporter-frontend.

slatinsky avatar slatinsky commented on August 29, 2024

If exported without markdown processing, the export contains more raw information, like emojiIds, channelIds,...

from discordchatexporter-frontend.

Shadowmech88 avatar Shadowmech88 commented on August 29, 2024

I tried it out and that does work, although unfortunately I think the lack of readable user mentions and channel links is more crippling to the backup than broken emoji. I wonder how difficult it would be to make a tool to take two backups, one with markdown processing and one without, and create a new one where all markdown is processed except for external emoji.

Also I noticed that without markdown processing, all in-message emoji display very large. I'm not sure if that's something you have control over with the frontend, though.

from discordchatexporter-frontend.

slatinsky avatar slatinsky commented on August 29, 2024

User mentions should be readable and highlighted. If they are not, it is a bug.

But it is not possible to convert roles to their names, because that information is not exported by the exporter.

Converting channel links to their names is possible, but not yet done (for exports exported using --markdown false).

If message only contains emoji and nothing else, emoji renders larger in discord too. That is intended behavior (issue #18)

from discordchatexporter-frontend.

Shadowmech88 avatar Shadowmech88 commented on August 29, 2024

User mentions should be readable and highlighted

Without markdown processing on the export, they're not.
I pulled the same post up side by side and without markdown processing, the user mention is rendered in the style of @1234567890 (presumably the user's ID number.)
Unless that's something which was fixed in newer DCEF versions, since I'm using v1.13.2.

If message only contains emoji and nothing else, emoji renders larger in discord too

I know that. I'm actually the author of the issue you linked.
I'm talking about emoji rendering differently on exports for which markdown processing is turned off. Not only are they large even when the message also contains text, but they're much larger than even the large versions that Discord uses for emoji-only messages.

from discordchatexporter-frontend.

slatinsky avatar slatinsky commented on August 29, 2024

--markdown false didn't exist when v1.13.2 was released. I won't backport fixes and new features to old versions, sorry.

from discordchatexporter-frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.