added to README.md the info to configure bot in rocketchat instance

This commit is contained in:
alpcentaur 2023-12-15 14:48:30 +01:00
parent a7a3cb2621
commit 489763cd3b
2 changed files with 8 additions and 4 deletions

View file

@ -40,3 +40,7 @@ For the bot_user_id run the commands
myinfo = api.get_my_info() myinfo = api.get_my_info()
print(myinfo) 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

View file

@ -39,12 +39,12 @@ if __name__ == '__main__':
# api.send_message('Ciao, I am the fdb-spider', room_id) # api.send_message('Ciao, I am the fdb-spider', room_id)
# myinfo = api.get_my_info() #myinfo = api.get_my_info()
# print(myinfo) #print(myinfo)
# rooms = api.get_private_rooms() #rooms = api.get_private_rooms()
# print(rooms) #print(rooms)
# api.send_message('Ole', room_id) # api.send_message('Ole', room_id)