Update
This commit is contained in:
parent
a1d80c0d05
commit
51eb0c0f0e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class gameutils(commands.Cog):
|
||||||
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):
|
||||||
message = message + f":game_die:{str(d+1)}. {str(random.randint(1, sides))}\n"
|
message = message + f":game_die: {str(d+1)}. {str(random.randint(1, sides))}\n"
|
||||||
if hidden == "Yes":
|
if hidden == "Yes":
|
||||||
await interaction.response.send_message(message, ephemeral=True)
|
await interaction.response.send_message(message, ephemeral=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue