Class JDABuilder


public class JDABuilder extends Object
Used to create new JDA instances. This is also useful for making sure all of your EventListeners are registered before JDA attempts to log in.

A single JDABuilder can be reused multiple times. Each call to build() creates a new JDA instance using the same information. This means that you can have listeners easily registered to multiple JDA instances.