fix(moderation): fixed embeds in blacklist list and immunity list
This commit is contained in:
parent
1fdd8b1e36
commit
0630804267
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue