src/Core/Event/EventManager.js
/**
     * Bind all listeners to a handler.
     * Create and register a handler for each event.
     * Called by AxonClient in start method.
     * If the bot is ready, also call bindHandlers()
     * @memberof EventManager
     */
Bind all listeners to a handler.
Create and register a handler for each event.
Called by AxonClient in start method.
If the bot is ready, also call bindHandlers()
@memberof EventManager
Bind all listeners to a handler . Create and register a handler for each event . Called by AxonClient in start method . If the bot is ready also call bindHandlers () @memberof EventManager
bindListeners() {
        for (const event in this._events) {
            this.registerHandler(event);
        }
        if (this.bot.ready) {
            this.bindHandlers();
        }
    }
bindListeners ( ) { for ( const event in this . _events ) { this . registerHandler ( event ) ; } if ( this . bot . ready ) { this . bindHandlers ( ) ; } }
Bind all listeners to a handler.
Bind all listeners to a handler .
// Create handler for each event // Bind Handlers to the event emission if bot is ready