1.0.3 ⢠Published 3 years ago
transcript.js v1.0.3
Discord Transcript
Introduction
š A easy Transcript Message collector that sends in html format.
Installation
npm i transcript.js
const { fetchTranscript } = require("transcript.js"); // npm install transcript.js
const { MessageAttachment } = require('discord.js'); // npm install discord.js
module.exports = {
name: 'transcript',
description: 'Fetches a html trascript from discord',
run: async (client, message, args) => {
fetchTranscript(message.channel, message, 10).then((data) => {
const file = new MessageAttachment(data, "index.html");
message.channel.send(file);
});
}
}