feat(onebot): expose qidian enterprise name on stranger info

When a stranger is a qidian account, attach the enterprise name from the corp data card. Non-qidian accounts keep an empty name.

Refs #404
This commit is contained in:
makotowu authored and GitHub committed 2026-08-26 23:31:15 +08:00
1 parent e1bb9b4722
commit c1a0091143
15 files changed
+238 -10

No files matched your search

+4
View File
@@ -44,6 +44,10 @@
"types": "./src/get-c2c-msg.ts",
"default": "./src/get-c2c-msg.ts"
},
"./qidian-corp": {
"types": "./src/qidian-corp.ts",
"default": "./src/qidian-corp.ts"
},
"./notify": {
"types": "./src/notify.ts",
"default": "./src/notify.ts"