1.1.0 • Published 3 years ago

embedcord v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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

1.1.0

3 years ago

2.0.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago