djs-embed-builder

1.2.8 • Public • Published

djs-embed-builder


Usage

const { Client } = require('discord.js');
const djs = require(`djs-embed-builder`);
const client = new Client();
client.embed = new djs(client).createEmbed

client.on("interactionCreate", (client, interaction) => {
    if (interaction.commandName == "embed") {
        client.embed(interaction);
    };
});

client.on("messageCreate", (client, message) => {
    let prefix = "+";
    let args = message.content.slice(prefix.length).trim().split(/ +/g);
    let command = args.shift().toLowerCase();
    if (command == "embed") {
        client.embed(message);
    };
});

Dependencies

Examples

To see examples go to examples.js

It's about 120% easy to use though.

Contact

Read Me Made by IceyyM8

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.86latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.86
1.2.70
1.2.60
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.1.90
1.1.80
1.1.70
1.1.60
1.1.50
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i djs-embed-builder

Weekly Downloads

6

Version

1.2.8

License

MIT

Unpacked Size

23 kB

Total Files

6

Last publish

Collaborators

  • plutothedev