hubot-paste

2.3.1 • Public • Published

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

Variable Default Description
PASTEBIN_API_KEY N/A A unique developer API key is required to use Pastebin's API

Commands

Command Listener ID Description
hubot dpaste content paste.dpaste.new Creates a new paste with content on Dpaste.com
hubot sprunge content paste.sprunge.new Creates a new paste with content on Sprunge.us
hubot pastebin content paste.pastebin.new Creates a new paste with content on Pastebin.com

Sample Interaction

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

Dependencies (0)

    Dev Dependencies (12)

    Package Sidebar

    Install

    npm i hubot-paste

    Weekly Downloads

    0

    Version

    2.3.1

    License

    MIT

    Last publish

    Collaborators

    • mrsaints