From 06308042674ecdd172195f82d4b4c6887c670f2b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Dec 2023 21:22:37 -0500 Subject: [PATCH] fix(moderation): fixed embeds in blacklist list and immunity list --- moderation/moderation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 23c56cd..1f6c0a5 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1464,7 +1464,7 @@ class Moderation(commands.Cog): role_list += f"{role.mention}\n" if role_list: embed = discord.Embed(title="Immune Roles", description=role_list, color=await self.bot.get_embed_color(None)) - await ctx.send(embed) + await ctx.send(embed=embed) @moderationset.group(autohelp=True, name='blacklist') @checks.admin() @@ -1529,7 +1529,7 @@ class Moderation(commands.Cog): blacklist_list += f"{role.mention} - {blacklist_role['duration']}\n" if blacklist_list: embed = discord.Embed(title="Blacklist Types", description=blacklist_list, color=await self.bot.get_embed_color(None)) - await ctx.send(embed) + await ctx.send(embed=embed) @moderationset.command(name="ignorebots") @checks.admin()