/GuggyRocketChat

Integration of Guggy into Rocket.Chat

Primary LanguageJavaScriptMIT LicenseMIT

GuggyRocketChat

Overview

GuggyRocketChat is a slash-style-command for Rocket.Chat which sends your given phrase to Guggy 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 Rocket.Chat Documentation)

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.