yobot

0.0.3 • Public • Published

YOBOT

Node.js library for making bots on Yo

Usage

npm install yobot

'use strict';

var Yobot = require('yobot');

var yobot = new Yobot(process.env.YO_KEY);
    
// Capture incoming Yo's
yobot.yo(function(username) {
    console.log('Received yo from ' + username);
});


// Send a yo
yobot.yo();

Use it how you will.

License

Copyright (c) 2014 Matthew Conlen. Licensed under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    8
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i yobot

Weekly Downloads

8

Version

0.0.3

License

none

Last publish

Collaborators

  • mathisonian