From 9c1a7b072b3c3ea7b717e43407b979d95333a933 Mon Sep 17 00:00:00 2001 From: insert Date: Fri, 9 Aug 2024 10:51:59 -0400 Subject: [PATCH] Update --- rolebuttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rolebuttons.py b/rolebuttons.py index 91908a5..d547fef 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 {interaction.application_command.name}", ephemeral=True) + await interaction.response.send_message(f"user requested role {str(interaction.data)}", ephemeral=True) return