hubot-paste
v2.3.1
Published
A Hubot script for creating a new paste on several online services: Dpaste.com and Pastebin.com.
Maintainers
Readme
hubot-paste
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
Install the hubot-paste module as a Hubot dependency by running:
npm install --save hubot-pasteEnable the module by adding the hubot-paste entry to your
external-scripts.jsonfile:[ "hubot-paste" ]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