src/index.js
/**
	 * Method used at the launching of the module, this musn't be used if you don't know what you are doing !
	 */
Method used at the launching of the module, this musn't be used if you don't know what you are doing !
Method used at the launching of the module this musn ' t be used if you don ' t know what you are doing !
_start()
    {
        if (!this._isRunning)
        {
            this.emit("ready");
            this._postStats();
            this._isRunning = true;
            this._interval = setInterval(() => { this._postStats(); }, this._timer);
        }
        else
        {
			this.emit("debug", "[\x1b[31mError\x1b[0m]] the module is already loaded, please use <client>#update() to update stats.");
            this.emit("error", { status: null, data: null, error: "the module is already loaded.", timestamp: Date.now() });
        }
    }
_start ( ) { if ( ! this . _isRunning ) { this . emit ( "ready" ) ; this . _postStats ( ) ; this . _isRunning = true ; this . _interval = setInterval ( ( ) => { this . _postStats ( ) ; } , this . _timer ) ; } else { this . emit ( "debug" , "[\x1b[31mError\x1b[0m]] the module is already loaded, please use <client>#update() to update stats." ) ; this . emit ( "error" , { status : null , data : null , error : "the module is already loaded." , timestamp : Date . now ( ) } ) ; } }
Method used at the launching of the module, this musn't be used if you don't know what you are doing !
Method used at the launching of the module this musn ' t be used if you don ' t know what you are doing !