From f07e6e0ef956b7993b074777de9630ec587639fb Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 28 Jul 2020 08:31:06 +0100 Subject: [PATCH] Adding minimum cooldown to some commands --- cogs/fun.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/fun.py b/cogs/fun.py index 40c84440..3f08563a 100644 --- a/cogs/fun.py +++ b/cogs/fun.py @@ -180,6 +180,7 @@ class Fun(commands.Cog): await ctx.message.delete() @command(name="digby", aliases=["Digby"], hidden=True) + @cooldown(1, 1, BucketType.user) @bot_has_permissions(embed_links=True) async def digby(self, ctx): """Pictures of Digby!""" @@ -375,6 +376,7 @@ class Fun(commands.Cog): await ctx.message.channel.send(owo) @command(name="remindme", aliases=["Remindme", "rm"]) + @cooldown(1, 1, BucketType.user) async def remind_me(self, ctx, time: Optional[int] = None, *, text): """Remind you in DMs"""