This commit is contained in:
insert 2024-08-10 16:18:36 -04:00
parent a1b82d4a79
commit 09b0c63d39
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -56,8 +56,7 @@ class rolebutton(commands.Cog):
await interaction.response.send_message(view=RoleView(self.bot)) await interaction.response.send_message(view=RoleView(self.bot))
@nextcord.message_command( @nextcord.message_command(
name="refresh", name="refresh role buttons",
description="refresh a role selection message",
) )
@nextcord.ext.application_checks.has_permissions(manage_roles=True) @nextcord.ext.application_checks.has_permissions(manage_roles=True)
async def rolerefresh(self, interaction: nextcord.Interaction, message: nextcord.Message): async def rolerefresh(self, interaction: nextcord.Interaction, message: nextcord.Message):