2.3.1 • Published 10 years ago

hubot-paste v2.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

hubot-paste

Build Status devDependency Status

A Hubot script for creating a new paste on several online services: Dpaste.com, Sprunge.us, and Pastebin.com.

See src/paste.coffee for full documentation.

Installation via NPM

  1. Install the hubot-paste module as a Hubot dependency by running:

    npm install --save hubot-paste
  2. Enable the module by adding the hubot-paste entry to your external-scripts.json file:

    [
        "hubot-paste"
    ]
  3. Run your bot and see below for available config / commands

Configuration

VariableDefaultDescription
PASTEBIN_API_KEYN/AA unique developer API key is required to use Pastebin's API

Commands

CommandListener IDDescription
hubot dpaste contentpaste.dpaste.newCreates a new paste with content on Dpaste.com
hubot sprunge contentpaste.sprunge.newCreates a new paste with content on Sprunge.us
hubot pastebin contentpaste.pastebin.newCreates a new paste with content on Pastebin.com

Sample Interaction

user1>> hubot pastebin Hello World!
hubot>> user1: http://pastebin.com/9jrTi80f
2.3.1

10 years ago

2.3.0

10 years ago

2.2.4

10 years ago

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

1.0.0

11 years ago