Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/etra0/sansanobot
https://github.com/etra0/sansanobot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/etra0/sansanobot
- Owner: etra0
- Created: 2016-11-03T04:00:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T02:41:35.000Z (almost 6 years ago)
- Last Synced: 2024-12-25T11:43:56.398Z (about 2 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SansanoBot
Bot para Telegram implementado en *python3*. Para poder usarlo, se debe solicitar un token con [BotFather](telegram.me/BotFather), y guardarlo en `secret_token.py`, junto a la id del creador para avisar las fallas del bot:
```python
token = "bot123456:ABCDeFGHiJKLMNOpQRSTuVWXYZ"
owner_id = "123456"
```Actualmente el bot soporta los siguientes comandos:
* `/minuta [normal|vegetariano|dieta] [hoy]`: Retorna la minuta de la universidad.
* `/clima [hoy]`: Retorna la máxima y la mínima de los *n* días siguientes.