

At the bottom of this panel, you'll find the DIY. First, log in to your Slack account and head to your Integrations settings panel. heroku config:set SLACK_BOT_OAUTH_TOKEN= Best of all, Slackbot will prompt the Google Advanced Image Search link only to you, so you'll be keeping your channel tidy and your clever GIF searches secret.heroku config:set SLACK_SIGNING_SECRET=.ADMIN_SECRET: A secret used to access the debug page.DATABASE_URL: A fully qualified Postgres Database URL (automatically provided on Heroku with the Postgres addon).GIFS_SERVER: The URL to your gifs server (you can use GitHub Pages).Tap the Message field at the bottom of your chat, and enter the Giphy command line here.
#Slack gif command install
SLACK_BOT_OAUTH_TOKEN: Your app's oAuth token (available on the Install App page) Find the channel you want to message, and open the chat.SLACK_SIGNING_SECRET: Your app's Signing Secret (available on the Basic Information page).Set the following environment variables to. Navigate to the OAuth & Permissions page and select the following bot token scopes:Ĭlick 'Save Changes' and install the app (You should get an OAuth access token after the installation) Set Your Environment Variables Set the Request URL to your server URL + /request.Go back to the app settings and click on Interactive Components.
Use commands like so (unless otherwise noted): slackThe following is a comprehensive guide to the Slack CLI commands, subcommands, and their respective parameters and flags. Short description: Search for a sad gif Running slack help will display available commands in your terminal window.Request URL: Your server URL + /command?category=sad.If you're using Heroku, your URL will be something like: You can optionally, add extra Slack command(s) that only search within certain folders (matching against all folders in the gifs path) by adding a query string in the format ?category=folderName to the end of the Request URL, for example: Request URL: Your server URL + /command.
#Slack gif command pro
So if youre looking for accuracy, heres a pro tip: Use the /giphy command a few.
