From 500db2e81300a3d23b98a6a26ae2ad7847f4f68b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aitor=20Mag=C3=A1n?= Date: Sat, 18 Sep 2021 10:44:26 +0200 Subject: [PATCH 1/2] Message redirecting to metro bot --- src/message_handler.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/message_handler.py b/src/message_handler.py index a11c4f7..5910d86 100644 --- a/src/message_handler.py +++ b/src/message_handler.py @@ -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": From 6d18db6d58d974a203e8fc21621dbb6c5b750dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aitor=20Mag=C3=A1n?= Date: Sat, 18 Sep 2021 10:51:30 +0200 Subject: [PATCH 2/2] Coveralls under maintenance --- .github/workflows/deploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0d33a38..3ca9a6f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: