Skip to content

Commit

Permalink
Merge pull request #15 from aitormagan/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
aitormagan authored Sep 18, 2021
2 parents 3a2644e + 6d18db6 commit 0fd2755
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- name: Run tox
run: |
tox
- name: Update Coverage report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coveralls --service=github
# - name: Update Coverage report
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# coveralls --service=github
- name: Download Node
uses: actions/setup-node@v1
with:
Expand Down
6 changes: 6 additions & 0 deletions src/message_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ def handle_update(update):
update["answer"] = answer
logger.info(update)
telegram_helpers.send_text(user_id, answer)
telegram_helpers.send_text(user_id, "🤔 ¿Vives en Madrid? ¿Usas mucho el metro? ¡Ahora tienes un nuevo "
"🤖 bot disponible! Con "
"[Metro Madrid - Tiempos de Espera](t.me/MetroMadridTiempoEsperaBot) "
"puedes obtener los tiempos de espera en cualquier 🚇 estación de metro "
"con simplemente 🗣️ decir el nombre o mandar tu 📍 ubicación.\n\n¡No "
"esperes más y pruébalo ya!")
elif "my_chat_member" in update and "new_chat_member" in update["my_chat_member"] \
and "status" in update["my_chat_member"]["new_chat_member"] \
and update["my_chat_member"]["new_chat_member"]["status"] == "kicked":
Expand Down

0 comments on commit 0fd2755

Please sign in to comment.