Fixed pipe error, bot is working as expected now!