Update
This commit is contained in:
parent
09b0c63d39
commit
2dc257466b
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class rolebutton(commands.Cog):
|
|||
for r in res:
|
||||
button = nextcord.ui.Button(label="r", style=nextcord.ButtonStyle.gray, custom_id=f"rolebutton:{r}")
|
||||
button.callback = RoleView.buttoncallback
|
||||
RoleView.add_item(button)
|
||||
RoleView.add_item(RoleView,button)
|
||||
await message.edit(view=RoleView(self.bot))
|
||||
await interaction.response.send_message("Edited!", ephemeral=True)
|
||||
|
||||
|
|
Loading…
Reference in a new issue