anyslot

0.0.131 • Public • Published

anyslot

A tiny script to make any slot(one-armed bandit) for hubot.

Usage

slot = require('anyslot')
module.exports = (robot) ->
  robot.hear /bbaslot/i(msg) ->
    str = slot.go(':bba:'':bba2:',':bba3:',':bba_political:',':apa:',':apa2:')
    msg.send (str)

then

hubot> bbaslot
hubot> :bba2: :bba3: :bba:
hubot> bbaslot
hubot> :apa2: :bba: :bba3:
hubot> bbaslot
hubot> :bba2: :bba: :bba2:

Readme

Keywords

none

Package Sidebar

Install

npm i anyslot

Weekly Downloads

2

Version

0.0.131

License

MIT

Last publish

Collaborators

  • kdxu