├── .gitignore ├── LICENSE ├── README.md ├── README_API.md ├── app ├── __init__.py ├── commands │ ├── __init__.py │ ├── base_command.py │ ├── builtin_commands │ │ ├── alias_command.py │ │ ├── blacklist_command.py │ │ ├── control_command.py │ │ ├── filter_command.py │ │ ├── help_command.py │ │ └── query_command.py │ ├── command_handler.py │ └── permission_manager.py ├── config │ ├── __init__.py │ ├── config_manager.py │ └── config_validator.py ├── database │ ├── __init__.py │ ├── database_manager.py │ └── models.py ├── onebotv11 │ ├── __init__.py │ ├── api_handler.py │ ├── event_parser.py │ ├── message_segment.py │ └── models.py ├── plugins │ ├── bs_plugin_fortune │ │ └── __init__.py │ └── bs_plugin_ping.py ├── server │ ├── __init__.py │ ├── filter_manager.py │ ├── message_processor.py │ └── proxy_server.py ├── utils │ ├── __init__.py │ ├── logger.py │ └── reboot.py └── web_api │ ├── __init__.py │ └── web_server.py ├── bs.pptx ├── data └── do_not_remove_db.txt ├── develop_note.md ├── main.py ├── requirements.txt ├── static └── imgs │ ├── example.png │ └── pipeline.png ├── templates ├── accounts.html ├── base.html ├── connections.html ├── dashboard.md ├── filters.html ├── groups.html ├── index.html ├── login.html ├── logs.html ├── query.html ├── settings.html └── statistics.html └── test ├── DATABASE_API.md ├── README.md ├── example_database_usage.py ├── pressure_test_server.py ├── quick_test.sh └── test_script.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/README.md -------------------------------------------------------------------------------- /README_API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/README_API.md -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/commands/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/__init__.py -------------------------------------------------------------------------------- /app/commands/base_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/base_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/alias_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/alias_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/blacklist_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/blacklist_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/control_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/control_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/filter_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/filter_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/help_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/help_command.py -------------------------------------------------------------------------------- /app/commands/builtin_commands/query_command.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/builtin_commands/query_command.py -------------------------------------------------------------------------------- /app/commands/command_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/command_handler.py -------------------------------------------------------------------------------- /app/commands/permission_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/commands/permission_manager.py -------------------------------------------------------------------------------- /app/config/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | 配置管理模块 3 | """ 4 | -------------------------------------------------------------------------------- /app/config/config_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/config/config_manager.py -------------------------------------------------------------------------------- /app/config/config_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/config/config_validator.py -------------------------------------------------------------------------------- /app/database/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | 数据库管理模块 3 | """ 4 | -------------------------------------------------------------------------------- /app/database/database_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/database/database_manager.py -------------------------------------------------------------------------------- /app/database/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/database/models.py -------------------------------------------------------------------------------- /app/onebotv11/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/onebotv11/__init__.py -------------------------------------------------------------------------------- /app/onebotv11/api_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/onebotv11/api_handler.py -------------------------------------------------------------------------------- /app/onebotv11/event_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/onebotv11/event_parser.py -------------------------------------------------------------------------------- /app/onebotv11/message_segment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/onebotv11/message_segment.py -------------------------------------------------------------------------------- /app/onebotv11/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/onebotv11/models.py -------------------------------------------------------------------------------- /app/plugins/bs_plugin_fortune/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/plugins/bs_plugin_fortune/__init__.py -------------------------------------------------------------------------------- /app/plugins/bs_plugin_ping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/plugins/bs_plugin_ping.py -------------------------------------------------------------------------------- /app/server/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | WebSocket代理模块 3 | """ 4 | -------------------------------------------------------------------------------- /app/server/filter_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/server/filter_manager.py -------------------------------------------------------------------------------- /app/server/message_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/server/message_processor.py -------------------------------------------------------------------------------- /app/server/proxy_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/server/proxy_server.py -------------------------------------------------------------------------------- /app/utils/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | 工具模块 3 | """ 4 | -------------------------------------------------------------------------------- /app/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/utils/logger.py -------------------------------------------------------------------------------- /app/utils/reboot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/utils/reboot.py -------------------------------------------------------------------------------- /app/web_api/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Web API模块 3 | """ 4 | -------------------------------------------------------------------------------- /app/web_api/web_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/app/web_api/web_server.py -------------------------------------------------------------------------------- /bs.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/bs.pptx -------------------------------------------------------------------------------- /data/do_not_remove_db.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /develop_note.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/develop_note.md -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/main.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/requirements.txt -------------------------------------------------------------------------------- /static/imgs/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/static/imgs/example.png -------------------------------------------------------------------------------- /static/imgs/pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/static/imgs/pipeline.png -------------------------------------------------------------------------------- /templates/accounts.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/accounts.html -------------------------------------------------------------------------------- /templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/base.html -------------------------------------------------------------------------------- /templates/connections.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/connections.html -------------------------------------------------------------------------------- /templates/dashboard.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/dashboard.md -------------------------------------------------------------------------------- /templates/filters.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/filters.html -------------------------------------------------------------------------------- /templates/groups.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/groups.html -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/index.html -------------------------------------------------------------------------------- /templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/login.html -------------------------------------------------------------------------------- /templates/logs.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/logs.html -------------------------------------------------------------------------------- /templates/query.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/query.html -------------------------------------------------------------------------------- /templates/settings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/settings.html -------------------------------------------------------------------------------- /templates/statistics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/templates/statistics.html -------------------------------------------------------------------------------- /test/DATABASE_API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/DATABASE_API.md -------------------------------------------------------------------------------- /test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/README.md -------------------------------------------------------------------------------- /test/example_database_usage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/example_database_usage.py -------------------------------------------------------------------------------- /test/pressure_test_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/pressure_test_server.py -------------------------------------------------------------------------------- /test/quick_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/quick_test.sh -------------------------------------------------------------------------------- /test/test_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Loping151/BotShepherd/HEAD/test/test_script.py --------------------------------------------------------------------------------