From f6dafd670252ca9151f49e283d2cd6e7a7b6acb9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Mar 2023 16:54:07 +0100 Subject: [PATCH] Added empty spacing for formatting the embedded application --- recruitmentCog/recruitment.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index e1b282f..1be47eb 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -81,14 +81,15 @@ class Recruitment(commands.Cog): async def format_application(self, answers: List[str], author: discord.Member) -> discord.Embed: """Format the application answers into an embed.""" - embed = discord.Embed(title=f"Application from {author.display_name}", color=discord.Color.green()) + embed = discord.Embed(title=f"Application from {author.display_name}#{author.discriminator}", color=discord.Color.green()) embed.set_thumbnail(url=author.avatar_url) embed.add_field(name="Name", value=answers[0]) embed.add_field(name="Age", value=answers[1]) embed.add_field(name="Country", value=answers[2]) embed.add_field(name="Hobbies", value=answers[3]) embed.add_field(name="Here for particular game?", value=answers[4]) - embed.add_field(name="Motivation for wanting to join:", value=answers[5]) + embed.add_field(name="\u200b", value="\u200b") # Empty field for spacing + embed.add_field(name="Motivation for wanting to join:", value=answers[5], inline=False) return embed