From 36615c6185d158739040a93fd5ab73ddb5b65687 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Wed, 24 Jun 2020 08:31:08 +0100 Subject: modified: cogs/utils.py --- cogs/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/utils.py b/cogs/utils.py index f0e3572..a95e0a6 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -50,6 +50,7 @@ class Utils(commands.Cog): async def findseed(self, ctx): if ctx.message.channel.id != int(self.bot.config[str(ctx.message.guild.id)]["bot_channel"]): await ctx.message.delete() + ctx.command.reset_cooldown(ctx) return # Don't ask @@ -73,6 +74,7 @@ class Utils(commands.Cog): async def findseed_handler(self,ctx,error): if isinstance(error, commands.CommandOnCooldown): if ctx.message.channel.id != int(self.bot.config[str(ctx.message.guild.id)]["bot_channel"]): + ctx.command.reset_cooldown(ctx) await ctx.message.delete() return else: -- cgit v1.2.3