From 2d26f457387b309d4162b30b00d4801aabbf0a78 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 13 Mar 2023 00:54:42 +0100 Subject: [PATCH] Adding dumb stuff to embedded message --- recruitmentCog/recruitment.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recruitmentCog/recruitment.py b/recruitmentCog/recruitment.py index 4b1f557..59b923f 100644 --- a/recruitmentCog/recruitment.py +++ b/recruitmentCog/recruitment.py @@ -60,11 +60,12 @@ class Recruitment(commands.Cog): embed.add_field(name="Discord ID", value=author.id) embed.add_field(name="Age", value=answers[1]) embed.add_field(name="Reason wishing to become a member:", value=answers[2]) - - # Add a link to the author's profile that opens a private conversation with them - author_url = f"https://discordapp.com/users/{author.id}" - author_link = f"[Click here to message {author.display_name}]({author_url})" - embed.set_footer(text=author_link) + + guilds = [f"{guild.name} ({guild.id})" for guild in author.guilds] + if guilds: + embed.add_field(name="Server Membership", value="\n".join(guilds)) + + embed.add_field(name="Status", value=author.status.name) return embed