aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/utils.py2
1 files changed, 2 insertions, 0 deletions
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: