Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
- Fixed a bug where the world name won't get updated
  • Loading branch information
cwkhawand committed May 15, 2021
1 parent adb043e commit d90df19
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ data = null;
async function setPresence(){
if(Growtopia.clientIsOpen){
Growtopia.generateRPCData()
.then(data => {
.then(rpc => {
data = rpc;
client.request('SET_ACTIVITY', {
pid: process.pid,
activity: data
activity: rpc
}).catch(e=>Application.errorHandler(e));
})
.catch(e => {
Expand Down
2 changes: 1 addition & 1 deletion modules/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var os = require('os');
class Application {
constructor() {
this.clientID = "841694148758208542";
this.version = "v1.6.4";
this.version = "v1.6.5";
this.debug = false;
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "growtopia-discord-presence",
"version": "1.6.4",
"version": "1.6.5",
"description": "Growtopia Discord Rich Presence by GrowStocks",
"main": "index.js",
"scripts": {
Expand All @@ -27,7 +27,7 @@
},
"bin": "index.js",
"pkg": {
"outputPath": "dist"
"outputPath": "dist"
},
"homepage": "https://github.com/GrowStocks/growtopia-rpc#readme"
}

0 comments on commit d90df19

Please sign in to comment.