xiaozuoassistant 0.2.23 → 0.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,7 +60,10 @@ export class FeishuChannel extends BaseChannel {
|
|
|
60
60
|
// MUST capture botName and client references within this loop closure to prevent overriding
|
|
61
61
|
const botName = name;
|
|
62
62
|
await wsClient.start({
|
|
63
|
-
eventDispatcher: new lark.EventDispatcher({
|
|
63
|
+
eventDispatcher: new lark.EventDispatcher({
|
|
64
|
+
encryptKey: botConfig.encryptKey || '',
|
|
65
|
+
verificationToken: botConfig.verificationToken || ''
|
|
66
|
+
}).register({
|
|
64
67
|
'im.message.receive_v1': async (data) => {
|
|
65
68
|
console.log(`[Feishu-${botName}] Received message event:`, data);
|
|
66
69
|
const event = data.message;
|