• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN client.getOnlineTime() format?

Status
Not open for further replies.

xDefcon

Well-Known Member
Contributor
Hello, i was testing the getOnlineTime() method applied to a Client object, as written in the API documentation that method should return a "number"
bYPWgou.png


So i decided to test this method on my own Client object with about 2hrs and 30mins of online time. As a result i had: 6135524000

What format is that? How can i convert to seconds for example?
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Yup, probably buggy. Will have a closer look and fix if necessary. :/
 
Status
Not open for further replies.
Top