JSPM

transcripter

1.0.8
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q5349F
    • License MIT

    Um simples módulo para fazer transcrições de mensagens.

    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 transcripter

    Documentaçã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`
              }]
            });
    

    Desenvolvedor