diff --git a/gameutils.py b/gameutils.py index 5254e83..122e6d8 100644 --- a/gameutils.py +++ b/gameutils.py @@ -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"