👋
Welcome to EmbedCord
A package to easily setup a discord embed This version only supports discord.js v12 Version 2.0.0 will support discord.js v13
🏠 Homepage
Install
npm i embedcord
Usage
Please note that none of the embed inputs are required if you want to skip one just leave an empty string ''
const discord = require('discord.js')
const client = new discord.Client()
const newEmbed = require('embedcord')
const prefix = '!'
client.once('ready', () => {
console.log('Ready')
})
client.on('message', message => {
if(!message.content.startsWith(prefix) || message.author.bot) return
if(message.content.startsWith(`${prefix}embed`)) {
const embed = newEmbed('Your title here', 'Your hex code here', 'Your description')
message.channel.send(embed)
}
})
client.login('your-token-here')
More than title, color, and description will be coming in future updates
Author
- Github: @Aidan-The-Dev
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a
📝 License
Copyright © 2022 Aidan White.
This project is MIT licensed.
This README was generated with