Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djccnt15/messenger_bot
Simple Telegram Alarm Bot
https://github.com/djccnt15/messenger_bot
bot chatbot python telegram telegram-bot
Last synced: 25 days ago
JSON representation
Simple Telegram Alarm Bot
- Host: GitHub
- URL: https://github.com/djccnt15/messenger_bot
- Owner: djccnt15
- License: mit
- Created: 2022-12-26T15:14:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-25T12:53:39.000Z (10 months ago)
- Last Synced: 2024-03-25T14:41:28.416Z (10 months ago)
- Topics: bot, chatbot, python, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Messenger Alarm Bot
Simple Alarm Bot for messengers
## Requires
- Python 3.11
- requirements.txt## Alembic
how to revision with Alembic
### initialize
```
alembic init migrations
```### Alembic setting
- set DB info to `alembic.ini`
```
sqlalchemy.url = mysql+pymysql://root:admin1015*@localhost:3306/mydb
```- add table metadata to `migrations/env.py`
```python
from src.db.entity import *target_metadata = BaseEntity.metadata
```### create Alembic revision
```
alembic revision --autogenerate
```### run Alembic revision to head
```
alembic upgrade head
```## Messengers
API list done
- [x] Telegram
- [ ] Line
- [ ] KakaoTalk### Messenger API Docs
- [Telegram Bot API](https://core.telegram.org/bots/api)