Update bot_lib.py

Added: logging messages for try exceptions
Added: check block users
Fixed: db filename bug