Commit Graph

9 Commits

Author SHA1 Message Date
雅诺狐
d26dd0fb2a Refactor anti-injection system into modular subpackages
Split the anti-prompt-injector module into core, processors, management, and decision submodules for better maintainability and separation of concerns. Moved and refactored detection, shielding, statistics, user ban, message processing, and counter-attack logic into dedicated files. Updated imports and initialization in __init__.py and anti_injector.py to use the new structure. No functional changes to detection logic, but code organization is significantly improved.
2025-08-20 14:57:37 +08:00
tt-P607
5fbeea70a8 chore: 更新 .gitignore 忽略插件目录 2025-08-20 10:41:57 +08:00
雅诺狐
0e761a5ea2 配置未和主框架耦合,移动到外部插件目录 2025-08-20 00:09:50 +08:00
tt-P607
e8e85cf83f 更新.gitgnore 2025-08-17 13:40:27 +08:00
雅诺狐
dec56949b3 Update .gitignore and change Dockerfile workdir
Added MaiBot-dev.code-workspace to .gitignore to prevent it from being tracked. Changed the working directory in the Dockerfile from /MaiMBot to /mmc for consistency or project structure update.
2025-08-17 12:16:33 +08:00
雅诺狐
69483173e6 Update .gitignore 2025-08-13 18:30:56 +08:00
雅诺狐
26039b003c Update .gitignore 2025-08-13 09:48:56 +08:00
minecraft1024a
f42d4043e4 feat:requirements.txt中添加多个新依赖项(为了适配联网搜索和麦麦空间插件)
优化emoji_manager.py中的数据库查询代码。
2025-08-11 21:45:55 +08:00
雅诺狐
ff7d1177fa 忽略文件 2025-08-11 19:32:51 +08:00