From 3abf39a1a2ace69c44bce488af8262189ef5bfdb Mon Sep 17 00:00:00 2001 From: Linus E <75929322+Rripped@users.noreply.github.com> Date: Tue, 26 Apr 2022 12:41:00 +0200 Subject: [PATCH] deleted bot creds in main --- telegram_bot/api_handling/api_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram_bot/api_handling/api_handler.py b/telegram_bot/api_handling/api_handler.py index 51e0ca1..5d41e95 100644 --- a/telegram_bot/api_handling/api_handler.py +++ b/telegram_bot/api_handling/api_handler.py @@ -356,7 +356,7 @@ class API_Handler: if __name__ == "__main__": # editable, just for basic on the go testing of new functions print("This is a module for the telegram bot. It is not intended to be run directly.") - handler = API_Handler("https://gruppe1.testsites.info/api", "bot@example.com", "bot") + handler = API_Handler("https://gruppe1.testsites.info/api", "", "") # do not push with real credentials print(handler.token) keywords = handler.get_user_keywords(user_id = 1709356058) #user_id here is currently mine (Linus) print(keywords)