fix(suggestions): icon_url --> icon.url
All checks were successful
Pylint / Pylint (3.10) (push) Successful in 56s
Pylint / Pylint (3.11) (push) Successful in 51s
Pylint / Pylint (3.9) (push) Successful in 55s

This commit is contained in:
Seaswimmer 2023-10-20 15:33:26 -04:00
parent cc6f20c62a
commit 88b1a995b4
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -370,7 +370,7 @@ class Suggestions(commands.Cog):
embed = discord.Embed( embed = discord.Embed(
colour=await ctx.embed_colour() colour=await ctx.embed_colour()
) )
embed.set_author(name=ctx.guild.name, icon_url=ctx.guild.icon_url) embed.set_author(name=ctx.guild.name, icon_url=ctx.guild.icon.url)
embed.title = "**Suggestion settings:**" embed.title = "**Suggestion settings:**"
embed.add_field(name="Suggestions channel:", value=suggest_channel) embed.add_field(name="Suggestions channel:", value=suggest_channel)