From d7d868a43adb2bd3f89b4400288a397960e85769 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Sun, 31 May 2020 19:43:52 +0200 Subject: Replace Dyno --- cogs/utils.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cogs/utils.py') 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)) -- cgit v1.2.3