1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-23 22:27:27 +00:00

Rate limited post saves over 5

This commit is contained in:
Myned 2017-10-11 11:09:15 -04:00
parent a9b7689760
commit 5264a93050

View file

@ -164,7 +164,10 @@ class MsG:
tb.print_exc()
finally:
if starred:
for url in starred: await user.send(url)
for url in starred:
await user.send(url)
if len(starred) > 5:
await asyncio.sleep(2.1)
@e621_paginator.error
async def e621_paginator_error(self, ctx, error):