Bots Development Environment Setup
Developing bots on RocketChat requires you to get and customize our boilerplate code. To do that, you need to have the following on your machine.
Regardless of bot type, the Rocket.Chat SDK requires you to create a configuration with some variables for your environment. This configuration can be stored in a
.envfile, for local development, for example. In production, they would need to be set on server startup.
The following is a list of all the environmental variables you can use in your project.
The common set for the majority of bots is to listen and respond to direct messages and all new public channels and private groups: