diff --git a/techsupport_bot/commands/modmail.py b/techsupport_bot/commands/modmail.py index 7f426f92..63830010 100644 --- a/techsupport_bot/commands/modmail.py +++ b/techsupport_bot/commands/modmail.py @@ -1375,11 +1375,13 @@ async def list_aliases(self: Self, ctx: commands.context) -> None: # Checks if the command was an alias aliases = config.extensions.modmail.aliases.value if not aliases: - embed = auxiliary.generate_basic_embed( - color=discord.Color.green(), - description="There are no aliases registered for this guild", + embed = auxiliary.prepare_deny_embed( + message="There are no aliases registered for this guild", ) + await ctx.channel.send(embed=embed) + return + embed = discord.Embed( color=discord.Color.green(), title="Registered aliases for this guild:" )