Skip to content

Commit

Permalink
🤝 Community
Browse files Browse the repository at this point in the history
  • Loading branch information
xbuddhi committed Aug 28, 2024
1 parent ce8882f commit 7f65839
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/telegram/buttons.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func init() {
mainMenu.Reply(
mainMenu.Row(btnBalanceMainMenu),
// mainMenu.Row(btnInvoiceMainMenu, btnWebAppMainMenu, btnSendMainMenu, btnHelpMainMenu), // TODO: fix btnSendMainMenu
mainMenu.Row(btnInvoiceMainMenu, btnWebAppMainMenu, btnHelpMainMenu),
mainMenu.Row(btnInvoiceMainMenu, btnHelpMainMenu),
)
}

Expand Down Expand Up @@ -82,7 +82,7 @@ func (bot *TipBot) appendWebAppLinkToButton(btn *tb.Btn, user *lnbits.User) {
// prevent adding a link if not https is used, otherwise
// Telegram returns an error and does not show the keyboard
url = "https://t.me/c/1869805823"
btn.WebApp = &tb.WebAppInfo{Url: url}
btn.URL = "https://t.me/c/1869805823"
}
}

Expand All @@ -109,7 +109,7 @@ func (bot *TipBot) mainMenuBalanceButtonUpdate(to int64) {
mainMenu.Reply(
mainMenu.Row(btnBalanceMainMenu),
// mainMenu.Row(btnInvoiceMainMenu, btnWebAppMainMenu, btnSendMainMenu, btnHelpMainMenu), // TODO: fix btnSendMainMenu
mainMenu.Row(btnInvoiceMainMenu, btnWebAppMainMenu, btnHelpMainMenu),
mainMenu.Row(btnInvoiceMainMenu, btnHelpMainMenu),
)
}
}
Expand Down
4 changes: 3 additions & 1 deletion translations/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ _This bot is a Bitcoin Lightning wallet that can sends tips on Telegram. To tip,
*/invoice* ⚡️ Receive with Lightning: `/invoice <amount> [<memo>]`
*/pay* ⚡️ Pay with Lightning: `/pay <invoice>`
*/advanced* 🤖 Advanced features.
*/help* 📖 Read this help."""
*/help* 📖 Read this help.
*Community* 🤝 [BitcoinDeepa Community](https://t.me/c/1869805823)"""

infoHelpMessage = """ℹ️ *Info*"""
infoYourLightningAddress = """Your Lightning address is `%s`"""
Expand Down

0 comments on commit 7f65839

Please sign in to comment.