# GuggyRocketChat

## Overview 
GuggyRocketChat is a slash-command for <a href='https://rocket.chat'>Rocket.Chat</a> which sends your given phrase to <a href='http://guggy.com/'>Guggy</a> and shows a GIF with your message.


## Installation

### Configure Rocket.Chat
Add an "Outgoing Webhook" to your Rocket-Chat Instance (see <a href="https://rocket.chat/docs/administrator-guides/integrations/">Rocket.Chat Documentation</a>)

On the webhook config screen, set the following values:

##### Trigger Words
Set the trigger words on which the command should be fired e.g. `/guggy`.

##### URLs
In this field you must enter `http://text2gif.guggy.com/guggify`

##### Token
Add your Guggy API Key here. API Keys can be obtained via api@guggy.com.

##### Script Enabled
This value mus be true

##### Script
Now insert the complete code of the file `GuggyIntegration.js` into this field.

#### Save changes
Click on "SAVE CHANGES" and you're done.

# GuggyRocketChat

## Overview 
GuggyRocketChat is a slash-style-command for <a href='https://rocket.chat'>Rocket.Chat</a> which sends your given phrase to <a href='http://guggy.com/'>Guggy</a> and shows a GIF with your message.

## Usage
Send a message with the content `!guggy help` and a message will come back with a gif.

## Installation

### Configure Rocket.Chat
Add an "Outgoing Webhook" to your Rocket-Chat Instance (see <a href="https://rocket.chat/docs/administrator-guides/integrations/">Rocket.Chat Documentation</a>)

On the webhook config screen, set the following values:

##### Trigger Words
Set the trigger words on which the command should be fired e.g. `!guggy`.

##### URLs
In this field you must enter: `http://text2gif.guggy.com/guggify`

##### Avatar URL
To get the Guggy logo on the bot, enter: `http://res.guggy.com/logo_128.png`

##### Token
Add your Guggy API Key here. API Keys can be obtained via: `api@guggy.com`

##### Script Enabled
This value must be `true`

##### Script
Now insert the complete code of the file `GuggyIntegration.js` into this field.

#### Save changes
Click on "SAVE CHANGES" and you're done.

Add a url to the Guggy logo
Add a url to the Guggy logo

This url came directly from the Guggy team, so it is used with permission. :)