Releases: Sigmanificient/Embed-Templator
Releases · Sigmanificient/Embed-Templator
Embed Templator
A Python Template manager for your discord bot to keep your embeds simple consistent
load
function allow to link the client to the embed templator in order for better embed customization.auto_author
can be toggled to set the author to the command usercolour
is set to bot color by defaultupdate
can be override to change the embed just better send.setup
can be override to set default part dynamically
Example usage
from discord.ext import commands
from embed_templator import Embed
token = ''
client = commands.Bot(command_prefix=',')
Embed.load(client, auto_author=True)
@client.command()
async def embed_example(ctx):
await ctx.send(embed=Embed(ctx))
@client.command()
async def ping(ctx):
await ctx.send(embed=Embed(ctx)(description='pong!'))
client.run(token)