discord-imgen

1.3.1 • Public • Published

discord-imgen

discord-imgen npm is an easy to use on the go npm for generating awesome images for discord bots EXAMPLE CODE BELOW

const Discord = require('discord.js)
const imgen = require('discord-imgen')

const client = new Discord.Client()
client.on('message', async message => {
if(message.content === 'blurpify'){
  imgen.blurpify(message.author.avatarURL(), res=> {

message.channel.send(res)
   
}
)
  } else if(message.content === 'tweet'){
 imgen.tweet(message.author.username, 'some text', res=> {

message.channel.send(res)//tweet image
   
}
)
  }
})

/discord-imgen/

    Package Sidebar

    Install

    npm i discord-imgen

    Weekly Downloads

    2

    Version

    1.3.1

    License

    ISC

    Unpacked Size

    2.26 kB

    Total Files

    4

    Last publish

    Collaborators

    • mythicalsouls