mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Rate limited post saves over 5
This commit is contained in:
parent
a9b7689760
commit
5264a93050
1 changed files with 4 additions and 1 deletions
|
@ -164,7 +164,10 @@ class MsG:
|
||||||
tb.print_exc()
|
tb.print_exc()
|
||||||
finally:
|
finally:
|
||||||
if starred:
|
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
|
@e621_paginator.error
|
||||||
async def e621_paginator_error(self, ctx, error):
|
async def e621_paginator_error(self, ctx, error):
|
||||||
|
|
Loading…
Reference in a new issue