This commit is contained in:
insert 2024-08-09 10:51:59 -04:00
parent 84782d43a0
commit 9c1a7b072b
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -21,7 +21,7 @@ class RoleView(nextcord.ui.View):
self.add_item(button) self.add_item(button)
async def buttoncallback(self, interaction: nextcord.Interaction) -> None: 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 return