From 84782d43a03a8e276e1f1e5519eb844751c681e5 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 9 Aug 2024 10:46:29 -0400 Subject: [PATCH] Update --- rolebuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rolebuttons.py b/rolebuttons.py index 71130ef..91908a5 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -21,7 +21,7 @@ class RoleView(nextcord.ui.View): self.add_item(button) async def buttoncallback(self, interaction: nextcord.Interaction) -> None: - await interaction.response.send_message(f"user requested role {self.custom_id}", ephemeral=True) + await interaction.response.send_message(f"user requested role {interaction.application_command.name}", ephemeral=True) return