Update
This commit is contained in:
parent
a1b82d4a79
commit
09b0c63d39
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue