Update
This commit is contained in:
parent
bb0d8766a8
commit
33691b2c25
1 changed files with 1 additions and 2 deletions
|
@ -16,9 +16,8 @@ class GameView(nextcord.ui.View):
|
|||
label="Next Turn", style=nextcord.ButtonStyle.green, custom_id="gameutils:nextturn"
|
||||
)
|
||||
async def approve(self, button: nextcord.ui.Button, interaction: nextcord.Interaction):
|
||||
print(application_checks.check(application_checks.has_permissions(manage_roles=True)))
|
||||
if application_checks.check(application_checks.has_permissions(manage_roles=True)):
|
||||
await interaction.response.semd_message("You don't have permission!", ephemeral=True)
|
||||
await interaction.response.send_message(f"You don't have permission! {application_checks.check(application_checks.has_permissions(manage_roles=True))}", ephemeral=True)
|
||||
ogmsg = interaction.message.content.split("\n")
|
||||
ogmsg.pop(0)
|
||||
message = "It has been decreed..\n"
|
||||
|
|
Loading…
Reference in a new issue