Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

cmcavoy/fancy-giphy-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fancy Giphybot

A bot for Groupme that let's your group inject hilarious animated gif's from Giphy into your super serious khaki pants groupme chat.

Heroku Setup

The bot is easy to set up on Heroku. The bot itself uses the Fancy Groupme Bot Node module to do its business.

Get your credentials

Your bot needs a few things, a name, a room to connect to and a Groupme Token (you need to create an application to get a token).

The Steps

  1. Go ahead and set up a Heroku account.

  2. git clone [email protected]:cmcavoy/fancy-giphy-bot.git

  3. cd fancy-giphy-bot

  4. heroku create and make note of the url that Heroku creates.

  5. The bot expects a few enviroment variables to be set on Heroku, all of which you can do from the command line.

heroku config:set GIPHYTOKEN=dc6zaTOxFJmzC # this is the beta app token from [Giphy API](https://github.com/giphy/GiphyAPI). It may change in the future.
heroku config:set GROUP=[the room id you want the bot to connect to]
heroku config:set GROUPMETOKEN=[the groupme token you got when you registered an [application](https://dev.groupme.com/applications/new)]
heroku config:set URL=[the url that heroku created for your app]
  1. Push the code to heroku git push heroku master

  2. Have fun! Giphybot should join your group. Any phrase that includes the single letter 'g' or the word 'giphybot' will ask the bot to search for something on Giphy. giphybot fancy robots will search for fancy robots, fancy robots g will also search for fancy robots.

symphony

probably Wil Smith, but Fancy Giphybot just returns Gifs, it doesn't write symphonies....YET.

soon

About

A Giphybot for Groupme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published