fix(moderation): fixed embeds in blacklist list and immunity list
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 47s

This commit is contained in:
Seaswimmer 2023-12-14 21:22:37 -05:00
parent 1fdd8b1e36
commit 0630804267
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

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