Coder Social home page Coder Social logo

gs-transcript's Introduction

GreenApi

gs-transcript

  • Sistema de transcripts con un solo comando!!
  • Transcript con formato HTML5

Informacion

Estamos atentos a cualquier error que tengas, para poder ser atendido solo unete a nuestro discord.

const gstranscript = require('gs-transcript')
const gs = new gstranscript.transcript("TOKEN")
Métodos Descripción
Crear Crear un transcript
Crear Buffer Crear un transcript en buffer
gs.create({message, cantidad: ?})
  • message - variable mensajes
  • cantidad(Opcional) - Cantidades de mensajes para transcript (No mas de 99 mensajes)

Transcript: Ejemplo

Con este ejemplo puedes hacer que el bot envie el transcript como archivo .html al canal indicado.

const resultado = new Discord.MessageAttachment(Buffer.from(await gs.create({message, cantidad: 50})), "transcript.html")
message.channel.send(resultado)

Imagen Ejemplo

Con este ejemplo puedes convertir el html5 en formato buffer.

let resultadobuffer = Buffer.from(await gs.create({message, cantidad: 50}))
console.log(resultadobuffer)

Imagen Ejemplo

GreenShield

  • !EL_WTF89
  * ROL: Creador
  * ID Discord: 300503776681525251
  * Usuario Discord: !EL WTF89#3612

gs-transcript's People

Contributors

rodrigoveglo avatar

Stargazers

 avatar Manel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.