Methods
(static) generateProgressBar(current, all, options) → {String}
Generate a progress bar for example for a player
Parameters:
Name | Type | Description |
---|---|---|
current | Number | Where it currently is (ms) |
all | Number | Where the end is (Ms) |
options | Object | The options for generating the progress bar |
- Source
Returns:
- Type:
- String
(static) getReadableTime(date) → {String}
Gets you a readable date in hh.mm.ss
Parameters:
Name | Type | Description |
---|---|---|
date | Date | The date to convert |
- Source
Returns:
- Type:
- String