Updated upbot.py

Bot no longer crashes when space character and only space character is
sent.