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