public JDABuilder addEventListener(Object... listeners)
    {
        Checks.noneNull(listeners, "listeners");

        Collections.addAll(this.listeners, listeners);
        return this;
    }
public JDABuilder addEventListener ( Object ... listeners ) { Checks . noneNull ( listeners , "listeners" ) ; Collections . addAll ( this . listeners , listeners ) ; return this ; }
Adds all provided listeners to the list of listeners that will be used to populate the {@link net.dv8tion.jda.core.JDA JDA} object.
<br>This uses the {@link net.dv8tion.jda.core.hooks.InterfacedEventManager InterfacedEventListener} by default.
<br>To switch to the {@link net.dv8tion.jda.core.hooks.AnnotatedEventManager AnnotatedEventManager},
use {@link #setEventManager(net.dv8tion.jda.core.hooks.IEventManager) setEventManager(new AnnotatedEventManager())}.

<p><b>Note:</b> When using the {@link net.dv8tion.jda.core.hooks.InterfacedEventManager InterfacedEventListener} (default),
given listener(s) <b>must</b> be instance of {@link net.dv8tion.jda.core.hooks.EventListener EventListener}!

@param   listeners
The listener(s) to add to the list.

@throws java.lang.IllegalArgumentException
If either listeners or one of it's objects is {@code null}.

@return The JDABuilder instance. Useful for chaining.

@see    net.dv8tion.jda.core.JDA#addEventListener(Object...) JDA.addEventListener(Object...)