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