Skip to content

Commit 3a4b335

Browse files
committed
feat
1 parent 9aa11fd commit 3a4b335

7 files changed

Lines changed: 130 additions & 988 deletions

File tree

.claude/settings.local.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(tasklist)",
5+
"Bash(sort -rk5)",
6+
"Bash(powershell \"Get-Process | Sort-Object CPU -Descending | Select-Object -First 15 Name,CPU,Id,WorkingSet | Format-Table -AutoSize\")",
7+
"Bash(powershell *)",
8+
"Bash(where ssh *)",
9+
"Bash(where plink *)",
10+
"Bash(where sshpass *)",
11+
"Bash(echo \"exit=$?\")",
12+
"Bash(python -c \"import paramiko; print\\('paramiko OK'\\)\")",
13+
"Bash(pnpm --filter napcat-common run typecheck)",
14+
"Bash(pnpm --filter napcat-core run typecheck)",
15+
"Bash(pnpm --filter napcat-onebot run typecheck)",
16+
"Bash(git *)"
17+
]
18+
}
19+
}

packages/napcat-onebot/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ export class NapCatOneBot11Adapter {
157157

158158
// 创建NetWork服务
159159

160-
// 注册Plugin 如果需要基于NapCat进行快速开发
161-
// this.networkManager.registerAdapter(
162-
// new OB11PluginAdapter('myPlugin', this.core, this,this.actions)
163-
// );
164160
// 检查插件目录是否存在,不存在则不加载插件管理器
165161
if (existsSync(this.context.pathWrapper.pluginPath)) {
166162
this.context.logger.log('[Plugins] 插件目录存在,开始加载插件');

0 commit comments

Comments
 (0)