1.3.3 • Published 7 months ago

embedstyles v1.3.3

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Embed Styles

v1.2.0 | Created By: nittwit_

Get Started:

1) Install Discord.js: npm i discord.js 2) Install the package: npm i embedstyles

Basic Usage:

Using Colors in an embed:

1) Require the package: const { Colors } = require('embedstyles') 2) Setup an embed:

```
const embed = new EmbedBuilder()
    .setColor(Colors.success)
    .setTitle(`Successfully created new channel!`)
```

Using Button:

1) Require the package: const { Button } = require('embedstyles') 2) Build a button:

 const buttons = new ActionRowBuilder()
     .addComponents(
         new Button(*Label*, *customId*, *style*)
     )

Using CommandBuilder:

1) Require the package: const { CommandBuilder } = require('embedstyles') 2) Build a command:

 data: new CommandBuilder(*Name*, *Description*)
 .String(*Name*, *Description*, *Required?*)
 .NSFW(false)

Command Builder - As of version 1.2.0 only supports .addStringOption() and .setNSFW()

Message Replies:

1) Require the package: const { Reply } = require('embedstyles') 2) post a reply:

 await Reply(*Text*, *Ephemeral?*)
 ```
1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.1

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago