Add new way to configure the bot.

- Add ConfigureFunction to enable people to organize their
  inline-configuration into a function instead of directly in code.