fix: hopefully fixed being listed as "None" if you have no nickname
This commit is contained in:
parent
26bc67bec6
commit
dcad41e10e
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue