Spaces:
Sleeping
Sleeping
Fix NameError Optional and add scanearly handlers to app.py: app.py
Browse files111 unmodified lines1121131141151161171187 unmodified lines1261271281291301315 unmodified lines137138139140141142111 unmodified linesmaxmc_command, volratio_command, check_command, chats_command,testalert_command, status_command, send_alert,id_command, addchat_command, removechat_command,phanes_command, global_message_listener)try:7 unmodified linesapp.add_handler(CommandHandler("addwallet", addwallet_command))app.add_handler(CommandHandler("addwallets", addwallets_command))app.add_handler(CommandHandler("removewallet", removewallet_command))app.add_handler(CommandHandler("minbuy", minbuy_command))app.add_handler(CommandHandler("maxmc", maxmc_command))app.add_handler(CommandHandler("volratio", volratio_command))5 unmodified linesapp.add_handler(CommandHandler("testalert", testalert_command))app.add_handler(CommandHandler("status", status_command))app.add_handler(CommandHandler("phanes", phanes_command))tracker = WalletTracker(cluster_engine=cluster_engine,111 unmodified lines1121131141151161171181197 unmodified lines1271281291301311321331341355 unmodified lines141142143144145146147148149111 unmodified linesmaxmc_command, volratio_command, check_command, chats_command,testalert_command, status_command, send_alert,id_command, addchat_command, removechat_command,phanes_command, scanearly_command, auto_ca_message_listener,global_message_listener)try:7 unmodified linesapp.add_handler(CommandHandler("addwallet", addwallet_command))app.add_handler(CommandHandler("addwallets", addwallets_command))app.add_handler(CommandHandler("removewallet", removewallet_command))app.add_handler(CommandHandler("scanearly", scanearly_command))app.add_handler(CommandHandler("hunt", scanearly_command))app.add_handler(CommandHandler("sub20k", scanearly_command))app.add_handler(CommandHandler("minbuy", minbuy_command))app.add_handler(CommandHandler("maxmc", maxmc_command))app.add_handler(CommandHandler("volratio", volratio_command))5 unmodified linesapp.add_handler(CommandHandler("testalert", testalert_command))app.add_handler(CommandHandler("status", status_command))app.add_handler(CommandHandler("phanes", phanes_command))# Auto-detect token CAs and URLs sent directly in chatapp.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, auto_ca_message_listener))tracker = WalletTracker(cluster_engine=cluster_engine,
app.py+8-1