hubot-garble
Hubot script that garbles your text
Last updated 5 years ago by okize .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-garble 
SYNC missed versions from official npm registry.

NPM version Build Status Dependency Status Downloads

Hubot: Garble

Hubot script that garbles your text

Usage

In a chatroom, type:

hubot garble [1-9] <text>

Hubot will return garbled text by translating the original text N number of times, where N is an optional argument between 1 and 9 (default is 5).

Configuration

ENV variable Description
YANDEX_TRANSLATE_API_KEY string; a Yandex API key (required)
HUBOT_GARBLE_LOCAL_LANGUAGE string; language code for chatroom language (optional; default is 'en')
HUBOT_GARBLE_TRANSLATION_PATH_LOG boolean; display the translation path that text followed during garbling process (optional; default is true)

Installation

Add the package hubot-garble as a dependency in your Hubot package.json file.

"dependencies": {
  "hubot-garble": "^1.0.0"
}

Run the following command to make sure the module is installed.

npm install hubot-garble

To enable the script, add the hubot-garble entry to the external-scripts.json file (you may need to create this file).

["hubot-garble"]

Current Tags

  • 1.2.0                                ...           latest (5 years ago)

5 Versions

  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |