Comments (9)
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.
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.
I am having the same issue but without Docker.
from discord-html-transcripts.
Are you running this on windows or linux?
And does the resulting HTML still display properly in the browser?
from discord-html-transcripts.
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.
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.
this will be fixed in the v3 rewrite
from discord-html-transcripts.
re-open if this issue still occurs in the new v3 update.
from discord-html-transcripts.
thanks :) no way to fix this also for discord js v13?
from discord-html-transcripts.
Related Issues (20)
- saveImages not storing raw image data HOT 2
- TypeError: channel.isTextBased is not a function HOT 1
- Separate the images from the html file HOT 2
- Emojis and slash commands HOT 2
- Add support for new Discord markdown features.
- Error while doing transcription (read properties of null) HOT 1
- Add extra options for image saving
- Can this be used in the thread? HOT 2
- oceanic.js support HOT 2
- saveImages not working HOT 6
- Change hour 00:00 PM to 12:00 PM HOT 2
- Issues with tupperbox
- Issue with username showed HOT 2
- [ExperimentalWarning] When doing a transcript. HOT 2
- Integrate HTML Prettifier HOT 1
- Does not properly show role colors on transcript. HOT 1
- Rendering Issue - Mentioning users via message or embed HOT 3
- Embed title markdown
- attachment appears above embed post HOT 5
- Define Maximum Output File Size for Discord HTML Transcripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-html-transcripts.