It is important to make the configuration of the bot straight forward for end users who are installing it.
Use this approach to create simple bot configuration:
- Create a configuration file that bot calls to initialize variables.
- Create step-by-step end user prompts to capture the required input for any variables.
As a general practice, avoid requiring end users to set variables directly in bots. However, there are instances that require manual configuration , specifically with MetaBots.
Include details in the Readme file about any manual configuration of variables, or if the bot configuration can be run with just the configuration file. The bot Readme provides details about the configuration file and other input files, with the exception of credentials, that are needed for the bot to work.