fixed check_discrim

This commit is contained in:
Seaswimmer 2023-07-12 14:10:05 -04:00
parent 672103f086
commit 5e48e3c1f8

View file

@ -84,9 +84,9 @@ class Suggestions(commands.Cog):
"Uh oh, looks like the Admins haven't added the required channel." "Uh oh, looks like the Admins haven't added the required channel."
) )
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(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"{self.check_discrim(author)}", ctx.author.avatar_url] author = [f"{self.check_discrim(ctx.author)}", ctx.author.avatar_url]
embed.set_footer( embed.set_footer(
text=footer[0], text=footer[0],
icon_url=footer[1] icon_url=footer[1]