1.0.1 • Published 4 years ago
discord_embed_markup_language v1.0.1
About
Discord Embed Markup Langage is a compiled markup langage inspired by html used to create embeds for discord.js
Installation
npm install `npm i discord_embed_markup_language`
Quickstart
const deml = require('discord_embed_markup_language');
var embed = deml.load('absolut/path/file.deml');
embed.format({
myVar : "Any kind of javascript data", //You can put as much variables you want
});
channel.send(embed.build());
You can find a deml file exemple here