fixed private messages causing bot to crash