Overview | How to use | Installation | Team | Copyright & License
GifRocket is a slash-command which sends your given phrases to Giphy and returns any according gif or sticker.
GifRocket reacts on a slash-command. For example entering /gif test shows a gif relating to the word test.
Try to use /gif random as phrase and receive a random gif.
GifRocket reacts on a slash-command. For example entering /sticker test shows a sticker relating to the word test.
Try to use /sticker random as phrase and receive a random sticker.
Download source from here.
Unzip Sources.
This step is optional if you've already got a user which you want to use as post author you can skip this step.
Otherwise add a new user who is posting the updates to your channel or who ist texting the user which is supposed to be informed.
In your Rocket.Chat instance go to administration panel an click on "Integrations". To add an integration with BitRocket click on "NEW INTEGRATION".
Next, choose "Outgoing WebHook".
Now, on the webhook config screen, set the following values:
Set this value to true/yes
Enter the desired name for the integration (e.g. "GifRocket").
Self-explaining option. Insert the desired channel which should be listened.
Set the trigger words on which the command should be fired. You have to set /gif,/sticker in here. Every time you write /gif or /sticker, everything after that string will be pushed zu Giphy.
In thies field you must enter https://api.giphy.com/v1/
In this field you should define the user who sends the found gif. This is the user you defined earlier.
This value mus be true
Now insert the complete code of the file GifRocket.js into this field.
Now click on "SAVE CHANGES" and you're done.
If you have any ideas on how to make this script way better, feel free to contact us. We would love to add more features. Let's improve this work together!
Manuel Bachl (m.bachl@finndrop.de)
Thies Schneider (t.schneider@finndrop.de)
Copyright (c) 2016 „Finndrop Studios“
Licensed under the MIT license.