diff --git a/suggestions/suggestions.py b/suggestions/suggestions.py index 8e5c0df..1149f06 100644 --- a/suggestions/suggestions.py +++ b/suggestions/suggestions.py @@ -85,8 +85,8 @@ class Suggestions(commands.Cog): ) embed = discord.Embed(color=await ctx.embed_colour(), description=suggestion) footer = [f"Suggested by {self.check_discrim(ctx.author)} ({ctx.author.id})", - ctx.author.avatar.url] - author = [f"{ctx.author.display_name}", ctx.author.avatar.url] + ctx.author.display_avatar.url] + author = [f"{ctx.author.display_name}", ctx.author.display_avatar.url] embed.set_footer( text=footer[0], icon_url=footer[1] @@ -190,7 +190,7 @@ class Suggestions(commands.Cog): approved = "Approved" if approve else "Denied" embed.title = f"Suggestion {approved} (#{suggestion_id})" footer = [f"{approved} by {self.check_discrim(author)} ({author.id}", - author.avatar.replace(format="png", size=512)] + author.display_avatar.replace(format="png", size=512)] embed.set_footer( text=footer[0], icon_url=footer[1] @@ -464,7 +464,7 @@ class Suggestions(commands.Cog): embed.title = f"Suggestion {approved} (#{suggestion_id})" footer = [f"{approved} by {self.check_discrim(author)} ({author.id}", - author.avatar.replace(format="png", size=512)] + author.display_avatar.replace(format="png", size=512)] embed.set_footer( text=footer[0], icon_url=footer[1]