use of discord4j.core.DiscordClient in project lavaplayer by sedmelluq.
the class Main method main.
public static void main(String[] args) {
DiscordClient client = new DiscordClientBuilder(System.getProperty("botToken")).build();
new Main().registerListeners(client.getEventDispatcher());
client.login().block();
}
Aggregations