Skip to content

Commit

Permalink
Merge pull request #8 from Icezman001/patch-1
Browse files Browse the repository at this point in the history
Adding getInfo request
  • Loading branch information
liamcottle authored Dec 15, 2020
2 parents a6dccbe + 2fddb2d commit 9d6c8b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rustplus.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,17 @@ class RustPlus extends EventEmitter {
},
}, callback);
}

/**
* Get the server info
*/
getInfo(callback) {
this.sendRequest({
getInfo: {

},
}, callback);
}

}

Expand Down

0 comments on commit 9d6c8b2

Please sign in to comment.