> For the complete documentation index, see [llms.txt](https://rahulps1000.gitbook.io/pyropatch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rahulps1000.gitbook.io/pyropatch/patches/flood-handler.md).

# Flood Handler

Automatically handle All Floodwaits

Automatically wait for the time and redo the function

```
from pyrogram import Client
from pyropatch import flood_handler                   #apply flood handler

app = Client(...)

# all floodwaits will automatically handled
await app.send_message("me", "Flood handled with **Pyropatch**!")

```
