vovavp.blogg.se

Do gifs in slack
Do gifs in slack








do gifs in slack

The config.php file has a few extra options you can change: Happy gif'ing! Optional Configuration Settings That's it, you're done! Head on over to a Slack channel, type in "/gif thumbs up" (without the quotes) and see what happens. Make sure the URL you specified to Slack when setting up your Slash Command points to the gifbot.php file on your server. Upload the contents of the repository to your web server.Change the value of the webhook_url property to be that "Your Unique Webhook URL" we set aside earlier.This is completely optional, but it'll make your bot look extra cool.Ĭongrats, Slack is now setup to work with Gifbot! Now, let's get your Gifbot set up on your server. Click on the link to "change the icon" and give it a custom icon, like this one.Scroll down to Integration Settings and expand it.Note and set aside the url under "Your Unique Webhook URL".The best option is to choose so that it'll work with DMs with the Slackbot. Honestly, this option won't really matter since Gifbot will read the channel the slash command goes out to. Choose a default channel for the webhook.Make sure you choose incoming, and not outgoing. Scroll down and add a new Incoming Webhook.Head back to the integrations and add another new integration.Next, we need to set up an Incoming Webhook, which will handle displaying the gif results from the Giphy API in your channel. For URL, point it to wherever you'll be hosting the gifbot.php file from this repository.Fill in the information under "Settings".

do gifs in slack

Scroll down to and add a new Slash Command.Head on over to Slack and add a new integration.The first thing we need to set up is the command you'll use to trigger Gifbot, called a Slash Command. Let's start by setting up your Slack integrations to work with Gifbot. A little bit of familiarity with setting up Slack integrations (and permission to do so).Īll set? Good, let's set up your very own Gifbot! Slack Integration Setup.A webserver that can run PHP 5.3.x or higher and upload access to that server.You'll need a few things to get this up and running: And if you ever really want to take the entertainment up to 11, you can type in just /gif to get a completely random gif. Sometimes they're exactly what you wanted, sometimes they're not, but they're always entertaining. Once installed, simply type /gif followed by a search term and instantly see a fantastic animated gif: It'll then display that gif directly inside your Slack channel. It'll take a search term you provide and use that to try to find the most appropriate animated gif related to that term. Gifbot is a set of integrations for Slack that allow you to easily post animated gifs to your Slack channel using Giphy's excellent gif search API. Do you find that you cannot properly and completely express yourself unless it's done in animated form? You're not alone! Gifbot is here to help.










Do gifs in slack