diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index 2e890f4..2293823 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -433,9 +433,9 @@ if __name__ == '__main__': To update all rooms use command : `updaterooms all` ----------------------------------------------------------------------------------------- - To update one room use the room_id from the output of printrooms: - command : `updaterooms ` - example : `updaterooms 6572012bebb39dd248d08320` + To update one room use the name of the room from the output of printrooms: + command : `updaterooms ` + example : `updaterooms test42` ----------------------------------------------------------------------------------------- To create a room use following command, but be sure to **not have spaces** in your lists, as a space indicates a new command argument: @@ -730,7 +730,9 @@ if __name__ == '__main__': if user_input_list[0] == 'deleteroom': try: - room_id_del = user_input_list[1] + room_name_del = user_input_list[1] + room_id_del = name2id(room_name_del) + #room_id_del = user_input_list[1] except Exception as e: room_id_del = 'NONE' print(e) diff --git a/new_message_file.txt b/new_message_file.txt index f412243..4b4a3e4 100644 --- a/new_message_file.txt +++ b/new_message_file.txt @@ -1 +1 @@ -printtags test42§%§%DXbmwicNHnmruZpKw \ No newline at end of file +printcommands§%§%ZqWKDLrEKM3vKgdSy \ No newline at end of file diff --git a/roomhistories/657c97e5ebb39dd248d38d51.txt b/roomhistories/657c97e5ebb39dd248d38d51.txt index a4829fa..665331f 100644 --- a/roomhistories/657c97e5ebb39dd248d38d51.txt +++ b/roomhistories/657c97e5ebb39dd248d38d51.txt @@ -11,3 +11,4 @@ +