igjnr.blogg.se

Post gif in slack
Post gif in slack










post gif in slack

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.
  • Short description: Search for a sad gif.
  • post gif in slack

    Request URL: Your server URL + /command?category=sad.

    post gif in slack

    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.
  • Click the 'Create New Command' button and fill in the following:.
  • Go back to the app settings and click on Slash Commands.











  • Post gif in slack