Search in sources :

Example 1 with ReadyListener

use of listeners.ReadyListener in project KaellyBot by Kaysoro.

the class Main method main.

public static void main(String[] args) {
    LoggerFactory.getLogger(Main.class).info("=======================================================");
    LoggerFactory.getLogger(Main.class).info("               " + Constants.name + " v" + Constants.version + " for " + Constants.game);
    LoggerFactory.getLogger(Main.class).info("=======================================================");
    IDiscordClient client = ClientConfig.DISCORD();
    client.getDispatcher().registerListener(new ReadyListener());
}
Also used : ReadyListener(listeners.ReadyListener) IDiscordClient(sx.blah.discord.api.IDiscordClient)

Aggregations

ReadyListener (listeners.ReadyListener)1 IDiscordClient (sx.blah.discord.api.IDiscordClient)1