Package Exports
- transcripter
- transcripter/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (transcripter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Transcripter
Transcripter é um simples método de fazer transcript das mensagens do seu servidor.
Instalação
Instale transcripter com npm.
npm install transcripterDocumentação
Exemplo:
const Transcripter = require("transcripter")
const config = {
limit: 100, // limite de mensagens
puxar_mensagens_bot: true // True: Puxar as mensagens dos bots || False: Não puxar as mensagens do bots
};
const transcripter = new Transcripter(message.channel, client);
const transcript = await transcripter.generateTranscript(config)
const canal_destinado = message.guild.channels.cache.get('ID_CANAL');
canal_destinado.send({
files: [{
attachment: Buffer.from(transcript),
name: `transcript.txt`
}]
});