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"])):
|
||||
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"
|
||||
message = message + f":game_die: {str(d+1)}. {str(random.randint(1, sides))}\n"
|
||||
if hidden == "Yes":
|
||||
await interaction.response.send_message(message, ephemeral=True)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue