From 9ef72701f1e2a046e46e73ba4161f5ab94045883 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 9 Aug 2024 15:23:07 -0400 Subject: [PATCH] update --- rolebuttons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rolebuttons.py b/rolebuttons.py index 90d44ba..b7e8b60 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -24,10 +24,10 @@ class RoleView(nextcord.ui.View): role = interaction.guild.get_role(int(interaction.data["custom_id"].split(":")[1])) if role in interaction.user.roles: await interaction.user.remove_roles(role, reason=f"{interaction.user.display_name} used role button") - await interaction.response.send_message(f"Removed <@{role.id}> from you!", ephemeral=True, allowed_mentions=nextcord.AllowedMentions.none()) + await interaction.response.send_message(f"Removed <@&{role.id}> from you!", ephemeral=True, allowed_mentions=nextcord.AllowedMentions.none()) else: await interaction.user.add_roles(role, reason=f"{interaction.user.display_name} used role button") - await interaction.response.send_message(f"Added <@{role.id}> to you!", ephemeral=True, allowed_mentions=nextcord.AllowedMentions.none()) + await interaction.response.send_message(f"Added <@&{role.id}> to you!", ephemeral=True, allowed_mentions=nextcord.AllowedMentions.none()) return