Skip to content

ben/botkit-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Shell adapter for Botkit

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors