Skip to content

Aidan-The-Dev/embedcord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Source code for the easy-embed npm package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published