Przeglądaj źródła

modified: telegram_api.py Suppression du print à chaque call

master
administrator 8 miesięcy temu
rodzic
commit
353b65bdc7
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      telegram_api.py

+ 0
- 1
telegram_api.py Wyświetl plik

@@ -10,7 +10,6 @@ user_id = config['user_id']
def send_message(message):
print("ON ENVOIE LE MESSAGE")
API_Message = 'https://api.telegram.org/'
API_Message += 'bot' + token_bot + '/sendMessage?chat_id=' + user_id + '&text=' + message
request = requests.post(API_Message)


Ładowanie…
Anuluj
Zapisz