Update
This commit is contained in:
parent
9488149220
commit
f88a169537
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue