embed-maker

1.0.4 • Public • Published

Embed Maker

A Discord Embed Maker wich supports noembed parameter (returns a string embed)

NPM Version

Install

npm i --save embed-maker

Usage

//Example Usage
const {maker} = require('embed-maker')
 
//Create a normal embed
maker('Title', 'Description', [['Field 1 part 1', 'Field 1 part 2'], ['Field 2 part 1', 'Field 2 part 2']], 'Message author', true, 'Embed footer', 'Thumbnail URL', 'Image URL', false)
//Format: maker(Title of the embed as string, Description of the embed as string, Fields in an array: [[Field 1 Title, Field 1 content], [Field 2 title, Field 2 content]], Author, Timestamp: true or false, Footer, Thumb URL, Image URL, the famous one: noembed: true or false if true returns string otherwise returns an embed) => Returns an embed or a string

Package Sidebar

Install

npm i embed-maker

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

4.08 kB

Total Files

4

Last publish

Collaborators

  • cstef_