1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-10 09:02:49 +00:00

use the real giphy end point

This commit is contained in:
2017-04-04 09:05:22 -05:00
parent 75bcbf907d
commit e6c492a5eb

View File

@@ -14,7 +14,7 @@ import (
const ( const (
gifPrefix string = "!gif " gifPrefix string = "!gif "
userAgent string = "go-discord-bot" userAgent string = "go-discord-bot"
giphyURL string = "http://api.giphy.com/v1/stickers/search?&api_key=dc6zaTOxFJmzC&limit=10&q=" giphyURL string = "http://api.giphy.com/v1/gifs/search?&api_key=dc6zaTOxFJmzC&limit=10&q="
) )
// GifHandler - handler for giphy api // GifHandler - handler for giphy api