aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2020-06-24 07:31:08 +0000
committerAnInternetTroll <lucafulger@gmail.com>2020-06-24 07:31:08 +0000
commit36615c6185d158739040a93fd5ab73ddb5b65687 (patch)
tree9ba9e6f08d18487ee14a5a243a1250904305c37f /cogs
parent2b03c10d2fe20d6269903755a726eb9ded34c60e (diff)
downloadsteve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar.gz
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar.bz2
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar.lz
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar.xz
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.tar.zst
steve-bot-36615c6185d158739040a93fd5ab73ddb5b65687.zip
modified: cogs/utils.py
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: