Update example

This commit is contained in:
Dan 2022-05-07 12:04:22 +02:00
parent 6cf849c3ea
commit 6fdf9a60f6

View File

@ -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
...