summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Lien <kenneth@anthropic.com>2026-03-20 11:55:56 -0700
committerKenneth Lien <kenneth@anthropic.com>2026-03-20 11:55:56 -0700
commitea382ec6a43f18478df6acb8b7026fae72eda02a (patch)
treeb7310a2543db9a87c209a17e67ab0c95122db645
parent9a101ba34c8d58410beaaad7f053ba9434fc6953 (diff)
Tighten /start and /help copykenneth/telegram-bot-commands-795
Less chatty, more precise. Explicitly mentions the /telegram:access skill and the 6-char code format.
-rw-r--r--external_plugins/telegram/server.ts21
1 files changed, 9 insertions, 12 deletions
diff --git a/external_plugins/telegram/server.ts b/external_plugins/telegram/server.ts
index 58ef37ba..38a10ec6 100644
--- a/external_plugins/telegram/server.ts
+++ b/external_plugins/telegram/server.ts
@@ -520,24 +520,21 @@ bot.command('start', async ctx => {
return
}
await ctx.reply(
- `👋 Hi! I'm a bridge between Telegram and Claude Code.\n\n` +
- `How to set up:\n` +
- `1. Send me any message here\n` +
- `2. I'll give you a pairing code\n` +
- `3. Run that code in Claude Code to link your account\n\n` +
- `Once paired, your messages here go straight to Claude.`
+ `This bot bridges Telegram to a Claude Code session.\n\n` +
+ `To pair:\n` +
+ `1. DM me anything — you'll get a 6-char code\n` +
+ `2. In Claude Code: /telegram:access pair <code>\n\n` +
+ `After that, DMs here reach that session.`
)
})
bot.command('help', async ctx => {
if (ctx.chat?.type !== 'private') return
await ctx.reply(
- `I relay messages between Telegram and Claude Code.\n\n` +
- `What works:\n` +
- `- Text messages\n` +
- `- Photos (with captions)\n` +
- `- Replies to specific messages\n\n` +
- `Use /start for setup instructions.`
+ `Messages you send here route to a paired Claude Code session. ` +
+ `Text and photos are forwarded; replies and reactions come back.\n\n` +
+ `/start — pairing instructions\n` +
+ `/status — check your pairing state`
)
})