git clone amazebot/bbot-rocketchat-boilerplate MY_BOT
--depth 1
flagrm -rf .git && git init
npm install
get dependenciesnpm run setup
add your details
npm start -- -m shell
npm start
(rocketchat
is default adapter)You'll need a Rocket.Chat instance to test. See Rocket.Chat's docs on Creating Bot Users before you begin.
Easy deployment options coming soon.
See bbot.chat for get started guides.
All bBot settings require the BOT_
prefix on environment variables.
See Rocket.Chat's docs on Configuring Bot Environments for settings specific to the SDK.
Configs can be given from command line. Try node index.js -h
for options.
They can also be set in package.json under the "bot"
attribute. You should
review all the package details and customise it to your own project details.
You can run and interact with the bot directly in shell, for quick development.
Run node index.js -m shell
to override Rocket.Chat as the message adapter.