fix(moderation): github copilot smoking some crack
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s

This commit is contained in:
Seaswimmer 2023-12-14 19:13:15 -05:00
parent e71b9bc025
commit 92f32fd739
Signed by: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1197,7 +1197,7 @@ class Moderation(commands.Cog):
for setting in user_settings: for setting in user_settings:
user_settings_string += f"**{setting}**: {user_settings[setting]}\n" user_settings_string += f"**{setting}**: {user_settings[setting]}\n"
embed = discord.Embed(color=await self.bot.get_embed_color(ctx.channel)) embed = discord.Embed(color=await self.bot.get_embed_color(None))
embed.set_author(icon_url=ctx.guild.icon.url, name=f"{ctx.guild.name} Moderation Settings") embed.set_author(icon_url=ctx.guild.icon.url, name=f"{ctx.guild.name} Moderation Settings")
embed.add_field(name="Guild Settings", value=guild_settings_string) embed.add_field(name="Guild Settings", value=guild_settings_string)
embed.add_field(name="User Settings", value=user_settings_string) embed.add_field(name="User Settings", value=user_settings_string)