An open API service indexing awesome lists of open source software.

https://github.com/nichind/aiogram3-telegram-bot-template

Aiogram3 Telegram bot template. Includes running multiple bots at once, SQL database & pre-built commands
https://github.com/nichind/aiogram3-telegram-bot-template

aiogram3 telegram-advanced-bot telegram-bot telegram-bot-template

Last synced: 6 months ago
JSON representation

Aiogram3 Telegram bot template. Includes running multiple bots at once, SQL database & pre-built commands

Awesome Lists containing this project

README

        

# Aiogram3 bot template
Easy to modify and use.
Run multiple bots in one time.
Add your bots while script is running: "on the fly", they will launch automatically.

## Install & Requirements

Make sure you have python that supports aiogram3 installed. (3.9+)

### Windows
1. Fork repository or click "Use this template" button to clone it
2. Download new repository to your machine
3. Create `config.json` file with your bot(s) token according to the `example-config.json`
4. Double-click on "run-in-venv.bat" file

### Other
1. Fork repository or click "Use this template" button to clone it
2. Download new repository to your machine
3. Create `config.json` file with your bot(s) token according to the `example-config.json`
4. Download python and install it
5. Create virtual environment using `python -m venv .venv`
6. Run `pip install -r requirements.txt` in your terminal
7. Run `python main.py` in your terminal

## Other
### Config example

```json filename="config.json"
{
"bots": [
"4512341245:AWCFFnxH-D16EASgs2Fso-h7oA4no0M"
],
"admins": [
1538946202
]
}
```

## Screenshots

![Example start](assets/showcase1.png)

PRs are welcomed

watching_count