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
Options for embedCreate function
Options | Type | Required | Default | Description |
---|---|---|---|---|
slash | Boolean | โ | false | Slash Support for the embedCreate (need to be in a slash command) |
Embed
Options | Type | Required | Default | Description |
---|---|---|---|---|
embedTitle | String | โ | Create Embed | Embed title of the Guide embed in embedCreate |
embedColor | Hex Code | โ | #075FFF | Embed color of the Guide embed in embedCreate |
embedFoot | String | โ | credits | Embed footer of the Guide embed in embedCreate |
embed | Embed | โ | embed | Custom embed for embedCreate guide |
credit | Boolean | โ | false | Credit the Package. Overrides embedFoot |