diff options
Diffstat (limited to 'cogs/utils.py')
-rw-r--r-- | cogs/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index f1cfeba..b7bc9f3 100644 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -221,5 +221,9 @@ class Utils(commands.Cog): async def someone(self, ctx): await ctx.send(choice(ctx.guild.members).mention) + @commands.command() + async def roll(self, ctx, pool): + await ctx.send(f"You rolled a {randint(0, int(pool))}") + def setup(bot): bot.add_cog(Utils(bot)) |