From 50712d0db9f31f2841edbcb69cf619e45fe73739 Mon Sep 17 00:00:00 2001 From: ajax146 <31014239+ajax146@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:41:35 -0700 Subject: [PATCH] Make whois have mentioned roles --- techsupport_bot/commands/whois.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/techsupport_bot/commands/whois.py b/techsupport_bot/commands/whois.py index 8e2dfe548..05d9069c1 100644 --- a/techsupport_bot/commands/whois.py +++ b/techsupport_bot/commands/whois.py @@ -64,7 +64,10 @@ async def whois_command( ) embed.add_field(name="Nickname", value=member.display_name) - role_string = ", ".join(role.name for role in member.roles[1:]) + role_list = member.roles[1:] + role_list.reverse() + + role_string = ", ".join(role.mention for role in role_list) embed.add_field(name="Roles", value=role_string or "No roles") config = self.bot.guild_configs[str(interaction.guild.id)]