embedcord

1.1.0 • Public • Published

Welcome to EmbedCord 👋

Version Documentation License: MIT

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

👤 Aidan White

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Aidan White.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

Install

npm i embedcord

DownloadsWeekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

4.72 kB

Total Files

6

Last publish

Collaborators

  • turtle-pog