Skip to content

Commit

Permalink
README updates, bump Node versions to cover.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed Jun 28, 2018
1 parent 0601d3b commit 99445b6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
language: node_js
node_js:
- "8"
- "6"
sudo: false
notifications:
email: false
email: false
node_js:
- "10" # stable
- "8" # LTS
- "6" # maintenance
cache:
directories:
- node_modules
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# hubot-youtube

[![npm version](https://badge.fury.io/js/hubot-untappd-friends.svg)](http://badge.fury.io/js/hubot-untappd-friends) [![Build Status](https://travis-ci.org/stephenyeargin/hubot-untappd-friends.svg?branch=master)](https://travis-ci.org/stephenyeargin/hubot-untappd-friends)
[![npm version](https://badge.fury.io/js/hubot-youtube.svg)](http://badge.fury.io/js/hubot-youtube) [![Build Status](https://travis-ci.org/hubot-scripts/hubot-youtube.svg?branch=master)](https://travis-ci.org/hubot-scripts/hubot-youtube)

A Hubot script for searching YouTube.

## Installation

In hubot project repo, run:
In the Hubot project repo, run:

`npm install hubot-youtube --save`

Expand Down Expand Up @@ -38,18 +38,20 @@ _[Learn more](https://developers.google.com/console/help/new/?hl=en_US#generatin

### Optionally set flag for deterministic searching

If you want hubot to only return the most relevant result rather than randomly one of the top 15 results, set the environment variable `HUBOT_YOUTUBE_DETERMINISTIC_RESULTS`.
If you want Hubot to only return the most relevant result rather than randomly one of the top 15 results, set the environment variable `HUBOT_YOUTUBE_DETERMINISTIC_RESULTS`.

```
export HUBOT_YOUTUBE_DETERMINISTIC_RESULTS=true
```

### Optionally set flag for listening on public channel

If you want hubot to listen every messages (without mentioning him) on public channel
If you want Hubot to listen every messages (without mentioning the bot) on public channel, set `HUBOT_YOUTUBE_HEAR`.

```
export HUBOT_YOUTUBE_HEAR=true
```

## Sample Interaction

```
Expand Down

0 comments on commit 99445b6

Please sign in to comment.