Jxyme / simple-discord-rpc

Beautify your Discord profile with a fully customizable Discord Rich Presence, now with buttons.
34 stars 6 forks source link

Timestamp #9

Closed vyfor closed 3 years ago

vyfor commented 3 years ago

Hello there, I'm facing an issue with the timestamp, I don't actually know how to disable endTimestap, so the only startTimestamp would count.

Jxyme commented 3 years ago

Hello there, I'm facing an issue with the timestamp, I don't actually know how to disable endTimestap, so the only startTimestamp would count.

You can use the following:

"timestamps": {
    "startTimestamp": "EPOCH_HERE",
    "endTimestamp": null,
    "useTimer": true
}

If you don't want to provide a startTimestamp and instead want it to start from the moment you start the RPC, set it to null as well.

vyfor commented 3 years ago

Thanks mate! Works just fine.