Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages