misc: improved footer in suggestions cog
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5s
This commit is contained in:
parent
2c89456e62
commit
aa501a0f14
1 changed files with 3 additions and 3 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue