Set the pain function for bots after it is cleared by ClientBegin