Discord HTML Transcripts is a node.js module (recode on JDA) to generate nice looking HTML transcripts. Processes
discord markdown like bold, italics, strikethroughs, and more. Nicely formats attachments and embeds. Built in
XSS protection, preventing users from inserting html tags.
This module is designed to work with JDA.
HTML Template stolen from DiscordChatExporter.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.SkyWolfXP</groupId>
<artifactId>jda-html-transcripts</artifactId>
<version>VERSION</version>
</dependency>
DiscordHtmlTranscripts transcript = DiscordHtmlTranscripts.getInstance();
transcript.createTranscript(textChannel);
DiscordHtmlTranscripts transcript = DiscordHtmlTranscripts.getInstance();
transcript.generateFromMessages(messages); // return to InputStream