embed-maker
v1.0.4
Published
Enhanced Discord.js v12 Embed Maker
Downloads
11
Maintainers
Readme
Embed Maker
A Discord Embed Maker wich supports noembed parameter (returns a string embed)
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