New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

botkit-shell

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botkit-shell

Shell adapter for Botkit

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Botkit-Shell

This is a shell adapter for testing a botkit bot, derived from the Slack adapter.

Installing

You'll want to be running Node 6.1.0 or newer.

$ npm install --save botkit-shell

Initializating

In your bot initialization code, do this:

let shellbot = require('botkit-shell')
controller = shellbot({})
controller.spawn({})

The shellbot follows most of the same conventions as the Slack bot, since it's written

Using

Start up your bot with this adapter, and you should get a prompt that looks like this:

##>

Interact as though you were in a public channel. Switch to a DM context with \dm, switch back with \ch. Do \? for more info on the shell commands.

Keywords

FAQs

Package last updated on 05 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc