API and base set-up for the discovery bot.