Added formatPosts() and class nhlBot.