Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Commit

Permalink
Version 2.0.2
Browse files Browse the repository at this point in the history
- fixed breaking change in discord-rpc
  • Loading branch information
demaisj committed Jul 23, 2018
1 parent af9c13b commit c21879a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 80 deletions.
98 changes: 22 additions & 76 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "soundcloud-rp",
"version": "2.0.1",
"version": "2.0.2",
"description": "Adds Discord Rich Presence support to Soundcloud.",
"main": "src/index.js",
"dependencies": {
"cors": "^2.8.4",
"datauri": "^1.1.0",
"discord-rpc": "^3.0.0-beta.12",
"discord-rpc": "^3.0.0",
"express": "^4.16.3",
"hbs": "^4.0.1",
"request": "^2.87.0",
"request-promise-native": "^1.0.5",
"socket.io": "^2.1.1"
},
"devDependencies": {
"nodemon": "^1.17.5"
"nodemon": "^1.18.3"
},
"scripts": {
"start": "node bin/soundcloud-rp",
Expand Down
2 changes: 1 addition & 1 deletion src/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = (config) => {
trace("rpc.connect");
debug("Connecting to discord...");

this._rpc.login(this._config.discord.ClientID)
this._rpc.login({clientId: this._config.discord.ClientID })
.then(() => {
trace("rpc.connect.success");
debug("Connected to discord!");
Expand Down

0 comments on commit c21879a

Please sign in to comment.