update
This commit is contained in:
parent
5f28c1a86d
commit
f0e5f7714d
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ class RoleView(nextcord.ui.View):
|
|||
button.callback = self.buttoncallback
|
||||
self.add_item(button)
|
||||
|
||||
async def buttoncallback(self, button: nextcord.ui.Button, interaction: nextcord.Interaction) -> None:
|
||||
await interaction.response.send_message(f"user requested role {button.custom_id}", ephemeral=True)
|
||||
async def buttoncallback(self, interaction: nextcord.Interaction) -> None:
|
||||
await interaction.response.send_message(f"user requested role {self.custom_id}", ephemeral=True)
|
||||
return
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue