New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

image-cord

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

image-cord

It is a package used to make discord bots. It sends attachments of image manipulation, Anime, nsfw, and more pictures easily without any APIs.

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-56.52%
Maintainers
1
Weekly downloads
 
Created
Source

image-cord


Discord server NPM version NPM downloads Patreon

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);

Keywords

FAQs

Package last updated on 16 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc