1.2.6 • Published 1 year ago

sp-easyembed v1.2.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

EasyEmbed

Request it in your file like:

const { EasyEmbed } = require('sp-easyembed');

Then you can use it like this:

const embed = new EasyEmbed();
embed.setTitle('Title');

What is worth noting and the changes compared to the discord.js version of EmbedBuilder is that you can add author and footer as strings, instead of objects:

const embed = new EasyEmbed();
embed.setAuthor("Author name", "Author Icon URL", "Author URL");

There is also addBlankField method that adds a blank field that can be either inline or not. There is addField method that allows you to add a single field which is also added as strings.

The addFields method accept objects, arrays and array of arrays.

There is also extensive case insensitive list of colors.

Colors accept strings, hex codes or decimal numbers.

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago