Download prueba.py from codebydante/twistedbrodymangaflowbot: direct link, hf CLI and curl.
- Browser
- Download file 577 Bytes
-
https://huggingface.co/spaces/codebydante/twistedbrodymangaflowbot/resolve/main/prueba.py
- Command line
-
hf download hf://spaces/codebydante/twistedbrodymangaflowbot/prueba.py
-
curl -L -o prueba.py https://huggingface.co/spaces/codebydante/twistedbrodymangaflowbot/resolve/main/prueba.py
577 Bytes
| from pyrogram import Client, filters | |
| # DATOS REALES DEL BOT (Extraídos de tu config) | |
| api_id = 33226415 | |
| api_hash = "01999dae3e5348c7ab0dbcc6f7f4edc5" | |
| bot_token = "7898954550:AAFpND1LdlHUVF2_fjz3rbaOvbFgpGrS6C0" | |
| app = Client("prueba_bot_user", api_id=api_id, api_hash=api_hash, bot_token=bot_token) | |
| async def responder(client, message): | |
| print(">>> ¡COMANDO RECIBIDO! <<<") | |
| await message.reply("¡Estoy vivo! El problema era el código complejo.") | |
| print("Iniciando bot de prueba...") | |
| app.run() | |