From 489763cd3b75903a4f99217974b453d692f73cb9 Mon Sep 17 00:00:00 2001 From: alpcentaur Date: Fri, 15 Dec 2023 14:48:30 +0100 Subject: [PATCH] added to README.md the info to configure bot in rocketchat instance --- README.md | 4 ++++ fdb_spider_interface.py | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f34aa9..f6bd47a 100644 --- a/README.md +++ b/README.md @@ -40,3 +40,7 @@ For the bot_user_id run the commands myinfo = api.get_my_info() print(myinfo) ``` + + +Information: It is important to change the settings for bots, otherwise with the standard conf +the fdb-spider-interface does too many requests diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index d7c3c45..3f160d4 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -39,12 +39,12 @@ if __name__ == '__main__': # api.send_message('Ciao, I am the fdb-spider', room_id) - # myinfo = api.get_my_info() + #myinfo = api.get_my_info() - # print(myinfo) - # rooms = api.get_private_rooms() + #print(myinfo) + #rooms = api.get_private_rooms() - # print(rooms) + #print(rooms) # api.send_message('Ole', room_id)