-更新PlusCommand以使用DatabaseMessages而不是MessageRecv。 -将消息处理逻辑重构到一个新模块message_processor.py中,以处理消息段并从消息字典中创建DatabaseMessages。 -删除了已弃用的MessageRecv类及其相关逻辑。 -调整了各种插件以适应新的DatabaseMessages结构。 -增强了消息处理功能中的错误处理和日志记录。
33 lines
748 B
JSON
33 lines
748 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/pyright/main/packages/vscode-pyright/schemas/pyrightconfig.schema.json",
|
|
"include": [
|
|
"src",
|
|
"bot.py"
|
|
],
|
|
"exclude": [
|
|
"**/__pycache__",
|
|
"data",
|
|
"logs",
|
|
"tests",
|
|
"target",
|
|
"*.egg-info",
|
|
"src/plugins/built_in/*",
|
|
"__main__.py"
|
|
],
|
|
"typeCheckingMode": "standard",
|
|
"reportMissingImports": false,
|
|
"reportMissingTypeStubs": false,
|
|
"reportMissingModuleSource": false,
|
|
"diagnosticSeverityOverrides": {
|
|
"reportMissingImports": "none",
|
|
"reportMissingTypeStubs": "none",
|
|
"reportMissingModuleSource": "none"
|
|
},
|
|
"pythonVersion": "3.12",
|
|
"venvPath": ".",
|
|
"venv": ".venv",
|
|
"executionEnvironments": [
|
|
{"root": "."}
|
|
]
|
|
}
|