1.0.3 • Published 3 years ago

transcript.js v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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);
        });
    }
}
1.0.3

3 years ago

1.0.2

3 years ago