12 Commits

Author SHA1 Message Date
EchoZenith
819062ae02 Feat/ban user support (#5)
* feat: add /ban command to blacklist users

- Create 'blacklist' table in database to store banned user IDs.
- Implement handle_ban to blacklist users by replying to their messages.
- Add check in handle_message to intercept messages from banned users.

* feat: add /unban command to restore user communication

- Implement handle_unban to remove user IDs from the blacklist.
- Allow admins to restore communication by replying to historic
  messages.

* docs: update README.md
2026-02-01 02:45:30 +08:00
EchoZenith
ae569098f4 feat: add /del command and refactor start handler (#4)
- Implement synchronized message deletion for admin.
- Rename start function to handle_start for consistency
2026-01-28 13:40:59 +08:00
EchoZenith
34b86ec096 ci: add github actions workflow for automated release (#3) v1.0.0 2026-01-27 23:50:19 +08:00
EchoZenith
ae635d10b9 feat: Implement message edit synchronization with reply-to link (#2) 2026-01-27 22:08:13 +08:00
EchoZenith
537dfb542c chore(git): initialize .gitignore 2026-01-26 14:27:23 +08:00
EchoZenith
ae304227cd fix(env): correct typo in GITHUB_URL in .env.example 2026-01-26 11:53:52 +08:00
EchoZenith
5e6820cca3 feat(bot): add source code link to greeting message
- Define GITHUB_URL environment variable with fallback
- Implement InlineKeyboardMarkup for the start command
- Add "🌟 查看项目源码" button to welcome message
2026-01-26 11:43:15 +08:00
EchoZenith
a4760bc373 feat: initial project setup
- Add bot.py with core Telegram Contact Bot logic
- Add Dockerfile and docker-compose for containerization
- Add requirements.txt for dependency management
- Add .env.example for environment configuration
2026-01-25 20:19:56 +08:00
EchoZenith
37ac5383cb docs: fix typo in README 2026-01-25 20:14:36 +08:00
EchoZenith
93153a6aae Merge pull request #1 from EchoZenith/EchoZenith-patch-1
chore: Add MIT License to the project
2026-01-25 20:11:11 +08:00
EchoZenith
f76dcb2856 chore: Add MIT License to the project 2026-01-25 20:10:45 +08:00
EchoZenith
4941ce2452 docs: create README.md 2026-01-25 20:05:09 +08:00