Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diwasatreya/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.
https://github.com/diwasatreya/image-cord
discord discord-bot discord-botton discord-images discord-js
Last synced: about 1 month ago
JSON representation
It is a package used to make discord bots. It sends attachments of image manipulation, Anime, nsfw, and more pictures easily without any APIs.
- Host: GitHub
- URL: https://github.com/diwasatreya/image-cord
- Owner: diwasatreya
- License: apache-2.0
- Created: 2021-08-16T07:59:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T15:05:53.000Z (almost 3 years ago)
- Last Synced: 2024-11-14T11:47:01.307Z (about 2 months ago)
- Topics: discord, discord-bot, discord-botton, discord-images, discord-js
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/image-cord
- Size: 21.5 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Info
I planned to make this package like creating meme, anime, logo, more templates that you have never expected. But this is pending idk when I will update this.
# 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
```js
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);
```