Utilities

Utilities class.

Constructor

new Utilities()

Methods

(static) generateProgressBar(current, all, options) → {String}

Generate a progress bar for example for a player

Parameters:
NameTypeDescription
currentNumber

Where it currently is (ms)

allNumber

Where the end is (Ms)

optionsObject

The options for generating the progress bar

Returns:
Type: 
String

(static) getReadableTime(date) → {String}

Gets you a readable date in hh.mm.ss

Parameters:
NameTypeDescription
dateDate

The date to convert

Returns:
Type: 
String