fix: hopefully fixed being listed as "None" if you have no nickname

This commit is contained in:
Seaswimmer 2023-07-29 16:11:02 -04:00
parent 26bc67bec6
commit dcad41e10e
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.nick}", ctx.author.avatar_url] author = [f"{ctx.author.display_name}", ctx.author.avatar_url]
embed.set_footer( embed.set_footer(
text=footer[0], text=footer[0],
icon_url=footer[1] icon_url=footer[1]