Update bot_lib.py

Fix dictionary key and method do find out editors.