feat: Telegram Bot for Bounty Notifications (Closes #847)#1046
Open
muou0712 wants to merge 1 commit intoSolFoundry:mainfrom
Open
feat: Telegram Bot for Bounty Notifications (Closes #847)#1046muou0712 wants to merge 1 commit intoSolFoundry:mainfrom
muou0712 wants to merge 1 commit intoSolFoundry:mainfrom
Conversation
Complete Telegram bot that posts new bounties to channels with inline keyboard buttons for quick bounty details and claiming. Components: - scripts/telegram-bot.py: Full bot implementation (530 lines) - scripts/test_telegram_bot.py: 8 unit tests (all passing) Features: - Real-time bounty posting to Telegram channels/groups - Inline keyboard buttons (View Details, Fork Repo, Claim, Ask) - User subscription management per bounty type (categories, tiers) - SQLite-backed subscriptions and posted bounty tracking - Polling mode for development, webhook-ready for production - Beautiful HTML-formatted bounty messages with tier badges - Callback query handling for inline button interactions Usage: python3 scripts/telegram-bot.py run python3 scripts/telegram-bot.py post --repo owner/repo --issue 123 python3 scripts/telegram-bot.py subscribe --chat-id 123456 --categories backend,ai Wallet: 47HxQss7ctt6fFymSo8gevkYUWJPxieYFDG1eWQK7AjU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the Telegram Bot for New Bounty Notifications from #847.
Closes #847
Wallet:
47HxQss7ctt6fFymSo8gevkYUWJPxieYFDG1eWQK7AjUSummary
Complete Telegram bot that posts new bounties to channels with inline keyboard buttons for quick bounty details and claiming.
Components
scripts/telegram-bot.py: Full bot implementation (530 lines)scripts/test_telegram_bot.py: 8 unit tests, all passingFeatures
Usage
User Commands
/subscribe [cat:backend,ai] [tier:1,2]- Subscribe to notifications/unsubscribe- Unsubscribe/status- Check subscription status