From c34403e4a90ef30b68f446a734d48c481e488059 Mon Sep 17 00:00:00 2001 From: zevaryx Date: Mon, 17 Oct 2022 00:59:03 +0000 Subject: [PATCH] Minor bugfixes --- jarvis/cogs/botutil.py | 4 ++++ jarvis/embeds/admin.py | 1 + 2 files changed, 5 insertions(+) diff --git a/jarvis/cogs/botutil.py b/jarvis/cogs/botutil.py index 9f9ae83..0a0489c 100644 --- a/jarvis/cogs/botutil.py +++ b/jarvis/cogs/botutil.py @@ -29,6 +29,10 @@ class BotutilCog(Extension): """Checks if author is bot owner.""" return ctx.author.id == self.bot.owner.id + @prefixed_command(name="echo") + async def _echo(self, ctx: PrefixedContext, content: str) -> None: + await ctx.send(content) + @prefixed_command(name="stop") async def _stop(self, ctx: PrefixedContext) -> None: await ctx.send("Shutting down now") diff --git a/jarvis/embeds/admin.py b/jarvis/embeds/admin.py index ced7c29..2fa43a9 100644 --- a/jarvis/embeds/admin.py +++ b/jarvis/embeds/admin.py @@ -39,6 +39,7 @@ def ban_embed( if dm: embed = build_embed( title=f"You have been banned from {guild.name}", + description=None, fields=fields, color=get_command_color("ban"), )