fix: pings cannot be shown in embed author fields - made it nicknames instead

This commit is contained in:
Seaswimmer 2023-07-29 16:01:31 -04:00
parent 3a4826a38a
commit 26bc67bec6
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -86,7 +86,7 @@ class Suggestions(commands.Cog):
embed = discord.Embed(color=await ctx.embed_colour(), description=suggestion) 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.avatar_url] ctx.author.avatar_url]
author = [f"{ctx.author.mention}", ctx.author.avatar_url] author = [f"{ctx.author.nick}", ctx.author.avatar_url]
embed.set_footer( embed.set_footer(
text=footer[0], text=footer[0],
icon_url=footer[1] icon_url=footer[1]