企业微信自建bot的频道和自身id获取
johnsonyu0806 opened this issue · comments
使用inspect获取的id,无法使用。会提示:
024-04-03 12:40:56 [D] message [私聊] @ hi..
2024-04-03 12:40:56 [E] forward TypeError: Cannot read properties of undefined (reading 'userId')
at WecomMessageEncoder.sendByCustom (/koishi/node_modules/@satorijs/adapter-wecom/lib/index.js:196:36)
at WecomMessageEncoder.flush (/koishi/node_modules/@satorijs/adapter-wecom/lib/index.js:221:16)
at WecomMessageEncoder.send (/koishi/node_modules/@satorijs/core/lib/index.cjs:561:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WecomBot.sendMessage (/koishi/node_modules/@satorijs/core/lib/index.cjs:326:22)
at async Proxy. (/koishi/node_modules/@myrtus/koishi-plugin-forward/lib/core.js:144:40)
2024-04-03 12:41:46 [I] loader reload plugin @myrtus/forward:2cgfrk
2024-04-03 12:41:59 [W] forward 暂时找不到机器人实例 wecom:XXX, 等待一会儿说不定就有了呢!
2024-04-03 12:41:59 [D] message [私聊] @ hi
2024-04-03 12:42:17 [W] forward 暂时找不到机器人实例 wecom:XXX, 等待一会儿说不定就有了呢!
2024-04-03 12:42:17 [D] message [私聊] @ hi
inspect
指令是否能正常使用?