Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sauberr/telegram-stars-bot
Simple TG bot, based on Aiogram 3.x. Lets you receive payments with Telegram Stars
https://github.com/sauberr/telegram-stars-bot
aiogram3 python telegram-bot
Last synced: 27 days ago
JSON representation
Simple TG bot, based on Aiogram 3.x. Lets you receive payments with Telegram Stars
- Host: GitHub
- URL: https://github.com/sauberr/telegram-stars-bot
- Owner: Sauberr
- License: mit
- Created: 2024-12-02T14:53:55.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-09T22:32:18.000Z (about 1 month ago)
- Last Synced: 2024-12-09T23:29:38.675Z (about 1 month ago)
- Topics: aiogram3, python, telegram-bot
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Aiogram 3.x Telegram Stars Payments bot example
Basic donation bot to showcase Telegram Stars Payments. Based on Aiogram 3 with some useful speedups & async (non-blocking) libraries. As well as basic architecture setup.
#### Stack:
- [Python](https://www.python.org/downloads/)
- [Aiogram](https://aiogram.dev/)## Credits
[@MasterGroosha](https://github.com/MasterGroosha) for his Aiogram 3 getting started guides, we learned from it many cool things[@Priler](https://github.com/Priler/telegramStarsBot) original bot code
## Local Developing
All actions should be executed from the source directory of the project and only after installing all requirements.
1. Firstly, create and activate a new virtual environment:
```bash
python3.12 -m venv ../venv
source ../venv/bin/activate
```
2. Install packages:
```bash
pip install --upgrade pip
pip install -r requirements.txt
```3. Run file name bot.py
## Example env token
token=2013707108:AAFrRRwoeojqe-FkedkWJfJFh6l1ixlzwwz
## License
This project uses the [MIT] license(https://github.com/Sauberr/telegram-stars-bot/blob/main/LICENSE)