Pyropatch
  • INTRODUCTION
    • Installation
    • Quick Start
  • Patches
    • Command Handler
    • Flood Handler
    • Listen
      • Message Listener
      • Callback Listener
      • Inline Query Listener
      • Inline Result Listener
  • Misc
    • Support
Powered by GitBook
On this page
  1. Patches

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**!")
PreviousCommand HandlerNextListen

Last updated 2 years ago