Browse Source

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

master
alpcentaur 11 months ago
parent
commit
489763cd3b
2 changed files with 8 additions and 4 deletions
  1. +4
    -0
      README.md
  2. +4
    -4
      fdb_spider_interface.py

+ 4
- 0
README.md 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

+ 4
- 4
fdb_spider_interface.py 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)
# rooms = api.get_private_rooms()
#print(myinfo)
#rooms = api.get_private_rooms()
# print(rooms)
#print(rooms)
# api.send_message('Ole', room_id) # api.send_message('Ole', room_id)

Loading…
Cancel
Save