Commit Graph

16 Commits

Author SHA1 Message Date
Vladless b2b5a57b57 ruff, button file, castomize ping and backup 2025-03-28 20:39:06 +03:00
hteppl 6195dfd08d Optimize and fix imports 2025-03-25 17:42:53 +03:00
izzzzzi 2d937d13d7 Рефакторинг и оптимизация кода: улучшение импортов, форматирования и обработки уведомлений 2025-03-07 06:16:24 +05:00
Zakhar Izmaylov db1a0d4db7 Add trailing comma in handlers router inclusion
- Minor formatting adjustment in router configuration
- Ensure consistent code style with trailing comma
2025-01-31 02:44:48 +03:00
Zakhar Izmaylov 2b006ecae4 Remove user router and related blocking/unblocking logic
- Deleted handlers/user.py file
- Removed user_router from main handlers router
- Eliminated user blocking/unblocking event handlers
2025-01-31 00:14:56 +03:00
Zakhar Izmaylov acb73101c0 Refactor and clean up code formatting across multiple files
- Consolidated and simplified code formatting by removing unnecessary line breaks and improving readability in various functions.
- Updated the handling of backup file sending in backup.py for better clarity.
- Streamlined error handling and logging messages in several handlers to enhance consistency.
- Adjusted the Makefile to exclude specific files during Ruff checks and formatting.
- Made minor adjustments to function signatures and parameter handling for improved clarity and consistency.

This commit enhances code maintainability and readability without altering functionality.
2025-01-21 08:57:12 +03:00
Zakhar Izmaylov 84831a7290 Add captcha functionality to start command handler
- Included captcha router in main handlers.
- Integrated captcha generation in the start command, conditional on CAPTCHA_ENABLE setting.
2025-01-20 22:27:39 +03:00
Zakhar Izmaylov b01e4db2b2 Update work from blocked_users 2025-01-20 03:47:16 +03:00
Vladless c1728d111b add support for business/optimization 2024-12-20 23:29:27 +03:00
Vladless 97091f4875 fix_refferal/GIFTS/redirect/name_sub and more 2024-12-19 20:37:41 +03:00
Zakhar Izmaylov 142c1c15e7 Migrate to ruff 2024-12-13 12:09:20 +03:00
hteppl 4a16643880 Create and implement router for admin 2024-12-08 04:21:37 +03:00
hteppl 95e2ccf7b0 Create and implement router for instructions 2024-12-08 04:20:09 +03:00
hteppl a19690c17f Create and implement router for keys 2024-12-08 04:19:16 +03:00
hteppl af53834d5d Create and implement router for payments 2024-12-08 04:17:50 +03:00
hteppl 297262c749 Create basic main router for handlers 2024-12-08 04:15:52 +03:00