Update bothandler.py

Tidying up and removing map functions