This commit is contained in:
insert 2024-08-10 23:16:43 -04:00
parent 51eb0c0f0e
commit 9488149220
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -96,9 +96,7 @@ class gameutils(commands.Cog):
name="dice", name="dice",
description="Roll a number of dice", description="Roll a number of dice",
guild_ids=[1247883904178978927,699285282276507708], guild_ids=[1247883904178978927,699285282276507708],
default_member_permissions=nextcord.Permissions(manage_roles=True),
) )
@nextcord.ext.application_checks.has_permissions(manage_roles=True)
async def turngen(self, interaction: nextcord.Interaction, number: int, sides: int, hidden: str = nextcord.SlashOption(choices=["Yes", "No"])): async def turngen(self, interaction: nextcord.Interaction, number: int, sides: int, hidden: str = nextcord.SlashOption(choices=["Yes", "No"])):
message = f"May the odds ever be in your favor...\n" message = f"May the odds ever be in your favor...\n"
for d in range(number): for d in range(number):