discord fix missing function for resetting time.
This commit is contained in:
parent
803b8810f7
commit
b9a47baa00
@ -75,6 +75,14 @@ exports.clearDetails = function(){
|
||||
}
|
||||
}
|
||||
|
||||
exports.resetTime = function(){
|
||||
if(client){
|
||||
activity.startTimestamp = new Date().getTime()
|
||||
client.setActivity(activity)
|
||||
logger.log('Reset the activity time!')
|
||||
}
|
||||
}
|
||||
|
||||
exports.shutdownRPC = function(){
|
||||
if(!client) return
|
||||
client.clearActivity()
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vicariousnetworklauncher",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vicariousnetworklauncher",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"productName": "Vicarious Network Launcher",
|
||||
"description": "Modded Minecraft Launcher",
|
||||
"author": "Daniel Scalzi (https://github.com/VicaiousNetwork/)",
|
||||
|
Loading…
Reference in New Issue
Block a user