Master Bot
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Introduction: As we proceed with hubots coupled with tools to make our tasks easier in the form of conversations, we realised that there is a need of a framework which should manage other bots. Therefore, conversing with Master Bot deployment:
How it works: 1)You will need the OnBots services running in Kubernetes master server.
2) Connect it to adapters like Slack, Hipchat or Mattermost 3) Now you can interact with the bot through commands Below are the Bots Available in the BotStore page | ||||||
List of Bots | ||||||
URelease | ||||||
PCF | ||||||
NPM |
Commands | Description |
---|---|
getDeployedBots | get list of all deployed bots |
getBots | get bot types available in onBots |
getConfig Template <botname> | get Json template for adding a particular type of bot |
addBot <json_fileid> | adds a bot with the given configuration in Json file |
getBotDetails <botname> | get configuration and other details for a bot |
getLogs <botname> | get deployment logs of the given bot |
getChatlog <botname> | get chat logs of the given bot |
stop <botname> | stop an active bot if it is running |
restart <botname> | restart the bot with the details stored in mongodb |
getHitmiss <botname> | get hit-miss ratio of conversations of the given bot |
getMetrics <botname> | get system metrices for the given bot |
editbot <botname> <json_fileid> | edit the bot configuration details in mongodb from the given json file |
tail <number_of_lines> <botname> | To get last <number_of_lines> of the logs of <botname> |
delete <botname> | delete the bot |
container status <botname> | give the container status in which the bot is deployed |
help | list all the commands the master can perform |
→ Actions available by default
→ Actions enriched by OneDevOps | OnBot
Bots which can be deployed using the Master Bot:
Panel | ||||
---|---|---|---|---|
| ||||
Below are the Bots Available in OnBots. Click on specific botnames to know more: |
Tip |
---|
Every Bot has default Help command, which will explain users about what the bot can actually do by giving list of Commands and Actions. In case Bot does not understand user commands then bot can guide users with default replies. |