mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Update example
This commit is contained in:
parent
6cf849c3ea
commit
6fdf9a60f6
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ The following shows how to catch the exception in your code and wait the require
|
|||
try:
|
||||
... # Your code
|
||||
except FloodWait as e:
|
||||
await asyncio.sleep(e.x) # Wait "x" seconds before continuing
|
||||
await asyncio.sleep(e.value) # Wait "value" seconds before continuing
|
||||
...
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue