diff --git a/cogs/automod.py b/cogs/automod.py index bfe15ca..dd5eb4f 100644 --- a/cogs/automod.py +++ b/cogs/automod.py @@ -22,7 +22,7 @@ def __init__(self, bot): async def automod(self, ctx: ApplicationContext): loaded_config = automod.fetch_config(ctx.guild.id) localembed = discord.Embed(title=f"{ctx.guild.name}\'s automod configuration", description="Use the `/automod_set` command to change your server's automod configuration.", color=color) - localembed.set_thumbnail(url=ctx.guild.icon_url) + localembed.set_thumbnail(url=ctx.guild.icon) localembed.add_field(name="Swear-filter", value=loaded_config["swear_filter"]["enabled"]) localembed.add_field(name="Swear-filter Keywords Count", value=f"{int(len(loaded_config['swear_filter']['keywords']['default'])) + int(len(loaded_config['swear_filter']['keywords']['custom']))} words") localembed.set_footer(text="More automod features will come soon!")