Update suggestions.py

This commit is contained in:
SeaswimmerTheFsh 2023-05-04 22:03:18 -04:00 committed by GitHub
parent 9808b9e4c7
commit 26e71b90b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,9 +78,9 @@ 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 {ctx.author.name}#{ctx.author.discriminator}",
footer = [f"Suggested by {ctx.author.name}#{ctx.author.discriminator} ({ctx.author.id})",
ctx.author.avatar_url]
author = [f"{ctx.author.name}#{ctx.author.discriminator} ({ctx.author.id})", ctx.author.avatar_url]
author = [f"{ctx.author.name}#{ctx.author.discriminator}", ctx.author.avatar_url]
embed.set_footer(
text=footer[0],
icon_url=footer[1]
@ -503,4 +503,4 @@ class Suggestions(commands.Cog):
await self.config.custom("SUGGESTION", server, suggestion_id).denied.set(
True
)
await ctx.tick()
await ctx.tick()