Un bot simple et sans prétention, pour animer notre salon mattermost / Telegram interne…
- Python3
- sqlalchemy
- https://github.com/mailgun/expiringdict/archive/master.zip
- beautifulsoup4
- python-telegram-bot
- https://github.com/MarioVilas/google/archive/master.zip
- emoji
- textblob textblob_fr
- wikipedia
- qhue (https://github.com/quentinsf/qhue)
L'ensemble des paramétrage est dans settings.py
$ python mattermost_start.py
Serving Laurence on 0.0.0.0 port 5001 ...
$ export LAURENCE_TOKEN="YOUR_TOKEN"
$ python telegram_start.py
Laurence is ready
curl -s -X POST -d "text=test aaa&channel_name=test" http://localhost:5001/ | json_pp