claude-telegram-bot 0.3.3 → 0.3.4
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/bot.mjs +1 -1
- package/package.json +1 -1
package/bot.mjs
CHANGED
|
@@ -978,7 +978,7 @@ async function main() {
|
|
|
978
978
|
}
|
|
979
979
|
for (const upd of res.result) {
|
|
980
980
|
offset = upd.update_id + 1;
|
|
981
|
-
if (upd.message)
|
|
981
|
+
if (upd.message) handle(upd.message).catch((e) => console.error("Handle error:", e.message));
|
|
982
982
|
}
|
|
983
983
|
} catch (e) {
|
|
984
984
|
console.error("Polling error:", e.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-telegram-bot",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Drive Claude Code from Telegram — messages run headless `claude -p` in a project dir and replies come back to the chat. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|