BetterEmbed & Embed Templates
BetterEmbed is a class from the discord.js-better-embed
library that I've made, you can see the code here.
Documentation
This is a class for creating an Embed Object, but a bit simpler like this :
Using templates
Templates are a good way of automating and simplifying your code. You can use them like this:
This can simplify your embeds declarations and let you have more automation. Like if you use the color
templates in your templates, if you change the template, every embed will have a different color without changing anything to them! So feel free to add as many templates as you need.
Default templates
You can overwrite default templates but these are used in the advanced-command-handler
module so it could break things if you change them completely.
You can for example change the color
property of the color
template without any issue.
Last updated