deleted bot creds in main
This commit is contained in:
parent
0c9cc0b4ef
commit
3abf39a1a2
@ -356,7 +356,7 @@ class API_Handler:
|
|||||||
if __name__ == "__main__": # editable, just for basic on the go testing of new functions
|
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.")
|
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", "<bot-email>", "<bot-pw>") # do not push with real credentials
|
||||||
print(handler.token)
|
print(handler.token)
|
||||||
keywords = handler.get_user_keywords(user_id = 1709356058) #user_id here is currently mine (Linus)
|
keywords = handler.get_user_keywords(user_id = 1709356058) #user_id here is currently mine (Linus)
|
||||||
print(keywords)
|
print(keywords)
|
||||||
|
Loading…
Reference in New Issue
Block a user