Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/telegram/sendbatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ func (bot *TipBot) sendbatchHandler(ctx intercept.Context) (intercept.Context, e
parsed, sharedMemo, err := parseBatchEntries(ctx.Message().Text)
if err != nil {
helpMsg := fmt.Sprintf("❌ *Batch Send Error*\n\n%s\n\n", str.MarkdownEscape(err.Error()))
helpMsg += "*Usage:*\n`/sendbatch [shared memo]`\n`<amount> @user [memo]`\n`<amount> @user [memo]`\n\n"
helpMsg += "*Example 1 (Shared Memo):*\n`/sendbatch Salary 2026`\n`1000 @alice`\n`500 @bob`\n\n"
helpMsg += "*Example 2 (Individual Memos & LKR):*\n`/sendbatch`\n`1000 @alice Pizza`\n`500lkr @bob Coffee`"
helpMsg += "*Usage:*\n```\n/sendbatch [shared memo]\n<amount> @user [memo]\n<amount> @user [memo]\n```\n\n"
helpMsg += "*Example 1 (Shared Memo):*\n```\n/sendbatch Salary 2026\n1000 @alice\n500 @bob\n```\n\n"
helpMsg += "*Example 2 (Individual Memos & LKR):*\n```\n/sendbatch\n1000 @alice Pizza\n500lkr @bob Coffee\n```"

bot.trySendMessage(ctx.Message().Sender, helpMsg)
return ctx, errors.Create(errors.InvalidSyntaxError)
Expand Down
8 changes: 5 additions & 3 deletions translations/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ _This bot is a Bitcoin Lightning wallet that can sends tips on Telegram. To tip,
*/balance* 👑 Check your balance: `/balance`
*/send* 💸 Send funds to a user: `/send <amount> @user or user@ln.tips [<memo>]`
*/sendbatch* 💸 Send to multiple users:
`/sendbatch [memo]`
`<amount> @user1 [memo]`
`<amount>lkr @user2 [memo]` (converts LKR to sats)
```
/sendbatch [memo]
<amount> @user1 [memo]
<amount>lkr @user2 [memo]
```
*/invoice* ⚡️ Receive with Lightning: `/invoice <amount> [<memo>]`
*/pay* ⚡️ Pay with Lightning: `/pay <invoice>`
*/transactions* 📊 List transactions
Expand Down
Loading