1.0.5 • Published 9 years ago

watchful-protector v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

watchful-protector

a node module for simply and rapidly scaffolding #wowwwwwnetwork/@godtributes style bots.

NPM js-standard-style

var watchfulProtector = require('watchful-protector')
var config = {
      "consumer_key": "spiders",
      "consumer_secret": "spiders",
      "access_token": "moreSpiders",
      "access_token_secret": "bagofspiders"
    }

// WOWWWWWIDK
// will reply "wow, idk" to tweets that have a question mark
watchfulProtector(config, "yrBotsScreenName", function (tweet) {
  if (tweet.text.match(/\?/)) {
    return '@' + tweet.user.screen_name + ' wow, idk'
  }
})
1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago