From f88a169537bd43b59699c72f011354ae898818fc Mon Sep 17 00:00:00 2001 From: insert Date: Sat, 10 Aug 2024 23:17:01 -0400 Subject: [PATCH] Update --- gameutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"