misc: improved footer in suggestions cog
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s

This commit is contained in:
SeaswimmerTheFsh 2023-08-11 19:16:45 -04:00
parent 2c89456e62
commit aa501a0f14
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -84,7 +84,7 @@ class Suggestions(commands.Cog):
"Uh oh, looks like the Admins haven't added the required channel."
)
embed = discord.Embed(color=await ctx.embed_colour(), description=suggestion)
footer = [f"Suggested by {self.check_discrim(ctx.author)} ({ctx.author.id})",
footer = [f"Suggested by {self.check_discrim(ctx.author)} ({ctx.author.id})",
ctx.author.display_avatar.url]
author = [f"{ctx.author.display_name}", ctx.author.display_avatar.url]
embed.set_footer(
@ -189,7 +189,7 @@ class Suggestions(commands.Cog):
content = old_msg.content
approved = "Approved" if approve else "Denied"
embed.title = f"Suggestion {approved} (#{suggestion_id})"
footer = [f"{approved} by {self.check_discrim(author)} ({author.id}",
footer = [f"{approved} by {self.check_discrim(author)} ({author.id}",
author.display_avatar.replace(format="png", size=512)]
embed.set_footer(
text=footer[0],
@ -463,7 +463,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}",
footer = [f"{approved} by {self.check_discrim(author)} ({author.id}",
author.display_avatar.replace(format="png", size=512)]
embed.set_footer(
text=footer[0],