diff --git a/docs/source/faq/how-to-avoid-flood-waits.rst b/docs/source/faq/how-to-avoid-flood-waits.rst index 4d2994d1..06d1cdc2 100644 --- a/docs/source/faq/how-to-avoid-flood-waits.rst +++ b/docs/source/faq/how-to-avoid-flood-waits.rst @@ -9,7 +9,7 @@ The following shows how to catch the exception in your code and wait the require .. code-block:: python - import time + import asyncio from pyrogram.errors import FloodWait ... @@ -20,4 +20,4 @@ The following shows how to catch the exception in your code and wait the require ... -More info about error handling can be found :doc:`here <../start/errors>`. \ No newline at end of file +More info about error handling can be found :doc:`here <../start/errors>`.