discord bot embed builder that provides an easier way to create embeds and has an additional feature to save them for usage later on.
- discord
pip install discord
or pip install -r requirements.txt
Creating a simple Embed that the bot can send to Discord.
import DiscBotEmbedTemplate as DBET embed = DBET.embedtemplate( title="title", descript="descript", url="https://github.com/zenercurrent/discord-embedtemplate", name="Name", icon="https://cdn.discordapp.com/attachments/720986344020508892/739479274922442792/unknown.png", thumb="https://cdn.discordapp.com/attachments/720986344020508892/739479274922442792/unknown.png", footer="footer" )
More in-depth examples are provided and can be found in the examples folder.
Saving an Embed object as a dict into a text file for easy accessibility. Added bonus if saved as a json format for more organised extraction.
store = DBET.EDictFile(file=path, embed=embed) store.add(prefix="{\"test2\": ", suffix="}")
Examples also show how to add and get these values.