1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-25 06:37:29 +00:00

Removed pre-rate limit from reverse commands

This commit is contained in:
Myned 2017-11-20 02:19:47 -05:00
parent 5b2bed29ef
commit a967eaedf0

View file

@ -353,9 +353,6 @@ class MsG:
except exc.MatchError as e: except exc.MatchError as e:
await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=7) await ctx.send('**No probable match for:** `{}`'.format(e), delete_after=7)
finally:
await asyncio.sleep(self.RATE_LIMIT)
if not c: if not c:
await ctx.message.add_reaction('\N{CROSS MARK}') await ctx.message.add_reaction('\N{CROSS MARK}')
@ -414,7 +411,6 @@ class MsG:
finally: finally:
n += 1 n += 1
await asyncio.sleep(self.RATE_LIMIT)
if c <= 0: if c <= 0:
await ctx.message.add_reaction('\N{CROSS MARK}') await ctx.message.add_reaction('\N{CROSS MARK}')