@dcrays/dcgchat-test 0.3.6 → 0.3.7
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.
- package/package.json +1 -1
- package/src/bot.ts +1 -1
- package/src/cronToolCall.ts +2 -0
package/package.json
CHANGED
package/src/bot.ts
CHANGED
package/src/cronToolCall.ts
CHANGED
|
@@ -178,6 +178,8 @@ export function cronToolCall(event: { toolName: any; params: any; toolCallId: an
|
|
|
178
178
|
newParams.command =
|
|
179
179
|
params.command.replace('--json', '') + ` --session-key ${sk} --channel ${"dcgchat-test"} --to ${sk} --json`
|
|
180
180
|
return { params: newParams }
|
|
181
|
+
} else {
|
|
182
|
+
return undefined
|
|
181
183
|
}
|
|
182
184
|
}
|
|
183
185
|
|