Skip to content

Commit

Permalink
fix #219 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deo-Favente authored Jan 8, 2023
1 parent b40f583 commit 6111b4b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ sfx_files
# IDE files
.vs
.idea

# Gitpod
.gitpod.yml
3 changes: 2 additions & 1 deletion auth.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"twitch_client_secret": "get this from the twitch dev dashboard once you've created your twitch app",
"finage_api_key": "create one at https://finage.co.uk/",
"spotify_client_id": "create an app at https://developer.spotify.com/my-applications/",
"spotify_client_secret": "create an app at https://developer.spotify.com/my-applications/"
"spotify_client_secret": "create an app at https://developer.spotify.com/my-applications/",
"giphy_api_key": "create an api app at https://developers.giphy.com/dashboard/?create=true"
}
14 changes: 2 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions plugins/Giphy/giphy.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

// command is broken, looks like Giphy finally stopped supporting the API key in the developer docs
/*exports.commands = [
exports.commands = [
"giphy"
]*/
]

var qs = require("querystring");
var AuthDetails = require("../../auth.json");

var giphy_config = {
"api_key": "dc6zaTOxFJmzC",
"api_key": AuthDetails.giphy_api_key,
"rating": "r",
"url": "http://api.giphy.com/v1/gifs/random",
"permission": ["NORMAL"]
Expand Down

0 comments on commit 6111b4b

Please sign in to comment.