added token stripping to match message parsing in cubebot.py