From 9fb05194c2126c8beef81634479bada80c902ee9 Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 8 Oct 2018 15:20:19 -0400 Subject: [PATCH] Shovel cooldown --- planttycoon/planttycoon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/planttycoon/planttycoon.py b/planttycoon/planttycoon.py index 20712d9..161f7db 100644 --- a/planttycoon/planttycoon.py +++ b/planttycoon/planttycoon.py @@ -1298,6 +1298,7 @@ class PlantTycoon(Cog): em = discord.Embed(description=message, color=discord.Color.green()) await ctx.send(embed=em) + @commands.cooldown(1, 60 * 10, commands.BucketType.user) @commands.command(name="shovel") async def _shovel(self, ctx: commands.Context): """Shovel your plant out."""