Skip to content

Refactor telegram bot into modules - #688

Draft
n3d1117 wants to merge 1 commit into
mainfrom
codex/refactor-telegram_bot.py-into-modules
Draft

Refactor telegram bot into modules#688
n3d1117 wants to merge 1 commit into
mainfrom
codex/refactor-telegram_bot.py-into-modules

Conversation

@n3d1117

@n3d1117 n3d1117 commented Jun 3, 2025

Copy link
Copy Markdown
Owner

Summary

  • split handler implementations into command_handlers.py, message_handlers.py and setup_helpers.py
  • keep ChatGPTTelegramBot as a lightweight wrapper calling the new modules
  • clean up imports and remove old code

Testing

  • python -m py_compile bot/*.py

https://chatgpt.com/codex/tasks/task_e_683f4b157988833186efad0cd00550b8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant