Skip to main content

embedCreate

This is an example of embedCreate

TIP

This function has became Promised based and can return the embed <JSON>

With Customization

const simplydjs = require('simply-djs')

messageCreate Event (embedcreate command)

// messageCreate event

simplydjs.embedCreate(message)

Returns <JSON>

  • embedCreate returns the JSON of the embed so you can do something with it.
TIP

Slash Support.

The package supports Auto Slash Recognition ! So no more slash options.

Slash command format

{
name: 'embedCreate',
description: 'create embeds using simply-djs',
},

Output

image

Options for embedCreate function

OptionsTypeRequiredDefaultDescription
slashBooleanโœ˜falseSlash Support for the embedCreate (need to be in a slash command)

Embed

OptionsTypeRequiredDefaultDescription
embedTitleStringโœ˜Create EmbedEmbed title of the Guide embed in embedCreate
embedColorHex Codeโœ˜#075FFFEmbed color of the Guide embed in embedCreate
embedFootStringโœ˜creditsEmbed footer of the Guide embed in embedCreate
embedEmbedโœ˜embedCustom embed for embedCreate guide
creditBooleanโœ˜falseCredit the Package. Overrides embedFoot