Minor bugfixes

This commit is contained in:
Zeva Rose 2022-10-17 00:59:03 +00:00
parent a3e70cedde
commit c34403e4a9
2 changed files with 5 additions and 0 deletions

View file

@ -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")

View file

@ -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"),
)