fix(moderation): github copilot smoking some crack
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
This commit is contained in:
parent
e71b9bc025
commit
92f32fd739
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue