2.0.3 • Published 3 years ago

image-cord v2.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

About

image-cord is a just a package that create images and gifs. This package is only for making discord bot commands of fun category and image category. This package is new we are adding many things.

Installation

npm i image-cord

Example usage

const Discord = require("discord.js")
const { MessageEmbed } = require('discord.js')
const client = new Discord.Client()
const gif = require("image-cord")


client.on("ready", () => {
  console.log("YAY! Bot is online and ready")
})

client.on("message", async message => {

  if(message.content === "!hug") {
    let image = await gif.Hug()

    let embed = new MessageEmbed()
.setColor("#87CEEB")
.setImage(image)
.setTimestamp()
  message.channel.send(embed)
  }
})

client.login(process.env.TOKEN);
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago