Skip to content

Add Telegram bot for group notifications (#60)#64

Merged
big14way merged 5 commits intosorosave-protocol:mainfrom
zsheng823:main
Feb 25, 2026
Merged

Add Telegram bot for group notifications (#60)#64
big14way merged 5 commits intosorosave-protocol:mainfrom
zsheng823:main

Conversation

@zsheng823
Copy link
Contributor

Summary

This PR implements a Telegram bot for monitoring SoroSave group events, as requested in issue #60.

Features

  • ✅ Telegram bot using Grammy framework
  • /subscribe <group_id> - Subscribe to group notifications
  • /unsubscribe <group_id> - Unsubscribe from a group
  • /status - View current subscriptions
  • /help - Show help message
  • ✅ NotificationService for sending event notifications
  • ✅ Support for:
    • New contributions
    • Payout distributions
    • Round started events

Files Added

  • telegram-bot/package.json - Dependencies
  • telegram-bot/tsconfig.json - TypeScript config
  • telegram-bot/.env.example - Environment template
  • telegram-bot/.gitignore - Git ignore file
  • telegram-bot/README.md - Documentation
  • telegram-bot/src/index.ts - Main bot code

Testing

cd telegram-bot
npm install
cp .env.example .env
# Edit .env and add your bot token
npm run dev

Closes #60

@big14way big14way merged commit a577690 into sorosave-protocol:main Feb 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Telegram bot for group notifications

2 participants