├── Procfile ├── README.md ├── bot.py └── requirements.txt /Procfile: -------------------------------------------------------------------------------- 1 | worker: python bot.py 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # modbot -------------------------------------------------------------------------------- /bot.py: -------------------------------------------------------------------------------- 1 | from pyrogram import Client, filters 2 | import logging 3 | 4 | 5 | logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO) 6 | 7 | 8 | app = Client("my_bot", api_id=1613505, api_hash='ab2ad96ee3f4900132dafe115921ba31', bot_token='6169531420:AAHKsTI9uAVoUIyPNAnoQRe04DNwR12wRyI') 9 | 10 | @app.on_message(filters.text & ~filters.command(["start"])) 11 | def echo(bot, message): 12 | bot.send_message(message.chat.id, '💥 Download from @appkmods') 13 | 14 | 15 | @app.on_message(filters.command("start")) 16 | def start(bot, message): 17 | bot.send_message(message.chat.id, 'Hi, I am a bot made by @appkmods. \n\nRequest your mods Here!') 18 | 19 | 20 | app.run() 21 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhishivam1/modbot/14c5d18e5c3eddd1b79e3fe1a12fb47264264135/requirements.txt --------------------------------------------------------------------------------