mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-03-22 12:13:09 +00:00
Tighten /start and /help copy
Less chatty, more precise. Explicitly mentions the /telegram:access skill and the 6-char code format.
This commit is contained in:
@@ -520,24 +520,21 @@ bot.command('start', async ctx => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
await ctx.reply(
|
await ctx.reply(
|
||||||
`👋 Hi! I'm a bridge between Telegram and Claude Code.\n\n` +
|
`This bot bridges Telegram to a Claude Code session.\n\n` +
|
||||||
`How to set up:\n` +
|
`To pair:\n` +
|
||||||
`1. Send me any message here\n` +
|
`1. DM me anything — you'll get a 6-char code\n` +
|
||||||
`2. I'll give you a pairing code\n` +
|
`2. In Claude Code: /telegram:access pair <code>\n\n` +
|
||||||
`3. Run that code in Claude Code to link your account\n\n` +
|
`After that, DMs here reach that session.`
|
||||||
`Once paired, your messages here go straight to Claude.`
|
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
bot.command('help', async ctx => {
|
bot.command('help', async ctx => {
|
||||||
if (ctx.chat?.type !== 'private') return
|
if (ctx.chat?.type !== 'private') return
|
||||||
await ctx.reply(
|
await ctx.reply(
|
||||||
`I relay messages between Telegram and Claude Code.\n\n` +
|
`Messages you send here route to a paired Claude Code session. ` +
|
||||||
`What works:\n` +
|
`Text and photos are forwarded; replies and reactions come back.\n\n` +
|
||||||
`- Text messages\n` +
|
`/start — pairing instructions\n` +
|
||||||
`- Photos (with captions)\n` +
|
`/status — check your pairing state`
|
||||||
`- Replies to specific messages\n\n` +
|
|
||||||
`Use /start for setup instructions.`
|
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user