src/Core/Event/EventManager.js
/**
     * Unregister the given event without deleting the handler.
     * Just stop listening to the discord event emitted.
     *
     * @param {String} event - Name of the Discord event
     * @returns {Boolean} True if worked / False if event doesn't exist
     * @memberof EventManager
     */
Unregister the given event without deleting the handler.
Just stop listening to the discord event emitted.

@param {String} event - Name of the Discord event
@returns {Boolean} True if worked / False if event doesn't exist
@memberof EventManager
Unregister the given event without deleting the handler . Just stop listening to the discord event emitted . @param { String } event - Name of the Discord event @returns { Boolean } True if worked / False if event doesn ' t exist @memberof EventManager
unregisterEvent(event) {
        const handler = this._handlers.get(event);
        if (!handler) {
            return false;
        }
        this.bot.off(event, handler._handle);
        this.logger.info(`EventManager: ${event} unregistered!`);
        return true;
    }
unregisterEvent ( event ) { const handler = this . _handlers . get ( event ) ; if ( ! handler ) { return false ; } this . bot . off ( event , handler . _handle ) ; this . logger . info ( ` ${ event } ` ) ; return true ; }
Unregister the given event without deleting the handler.
Unregister the given event without deleting the handler .