This commit is contained in:
insert 2024-08-10 23:17:01 -04:00
parent 9488149220
commit f88a169537
Signed by: insert
GPG key ID: A70775C389ACF105

View file

@ -97,7 +97,7 @@ class gameutils(commands.Cog):
description="Roll a number of dice",
guild_ids=[1247883904178978927,699285282276507708],
)
async def turngen(self, interaction: nextcord.Interaction, number: int, sides: int, hidden: str = nextcord.SlashOption(choices=["Yes", "No"])):
async def diceroll(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"
for d in range(number):
message = message + f":game_die: {str(d+1)}. {str(random.randint(1, sides))}\n"