Code Monkey home page Code Monkey logo

Comments (9)

ItzDerock avatar ItzDerock commented on August 17, 2024 2

Hm, ok, so seems like maybe this is an issue with jsdom + linux (discord-html-transcript isn't platform dependent)
Will look into this.

from discord-html-transcripts.

ItzDerock avatar ItzDerock commented on August 17, 2024

Are you able to send your dockerfile so I can take a look at this?
the issue is probably coming from jsdom.

from discord-html-transcripts.

JRTMediaUK avatar JRTMediaUK commented on August 17, 2024

I am having the same issue but without Docker.

from discord-html-transcripts.

ItzDerock avatar ItzDerock commented on August 17, 2024

Are you running this on windows or linux?
And does the resulting HTML still display properly in the browser?

from discord-html-transcripts.

JRTMediaUK avatar JRTMediaUK commented on August 17, 2024

Are you running this on windows or linux? And does the resulting HTML still display properly in the browser?

I am running the discord bot on Linux. The HTML does still display ok, it's just invalid HTML5 due to that DOCTYPE tag which is causing discord to show the formating incorrectly when sent as an attachment

from discord-html-transcripts.

cyb3rgh05t avatar cyb3rgh05t commented on August 17, 2024

Are you able to send your dockerfile so I can take a look at this? the issue is probably coming from jsdom.

yes for sure, thanks for looking into this. i am using ubuntu 16.04 with docker.

FROM node:16.16.0

LABEL maintainer=cyb3rgh05t
LABEL org.opencontainers.image.source https://github.com/cyb3rgh05t/mr.streamnet


RUN mkdir -p /usr/src/bot
WORKDIR /usr/src/bot

COPY package.json /usr/src/bot

RUN apt-get update && apt-get install -qq build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev g++ software-properties-common 
RUN npm install

COPY . /usr/src/bot

CMD ["node", "."]

from discord-html-transcripts.

ItzDerock avatar ItzDerock commented on August 17, 2024

this will be fixed in the v3 rewrite

from discord-html-transcripts.

ItzDerock avatar ItzDerock commented on August 17, 2024

re-open if this issue still occurs in the new v3 update.

from discord-html-transcripts.

cyb3rgh05t avatar cyb3rgh05t commented on August 17, 2024

thanks :) no way to fix this also for discord js v13?

from discord-html-transcripts.

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.