@@ -0,0 +1,1131 @@
+package org.techern.rsbot.discord;%0A%0Aimport sx.blah.discord.api.ClientBuilder;%0Aimport sx.blah.discord.api.IDiscordClient;%0Aimport sx.blah.discord.util.DiscordException;%0A%0A/**%0A * Utilities for Discord; Will be split up in a future release%0A *%0A * @since 0.0.1%0A */%0Apublic class DiscordUtilities %7B%0A%0A    /**%0A     * Gets a %7B@link IDiscordClient%7D instance%0A     *%0A     * @param token The token to use%0A     * @param shouldLogInImmediately True if logging in immediately%0A     *%0A     * @return A %7B@link IDiscordClient%7D instance%0A     * @throws DiscordException An exception occurred%0A     */%0A    public static IDiscordClient getClient(String token, boolean shouldLogInImmediately) throws DiscordException %7B%0A        ClientBuilder clientBuilder = new ClientBuilder().withToken(token); // Adds the login info to the builder%0A        if (shouldLogInImmediately) %7B%0A            return clientBuilder.login(); // Creates the client instance and logs the client in%0A        %7D else %7B%0A            return clientBuilder.build(); // Creates the client instance but it doesn't log the client in yet, you would have to call client.login() yourself%0A        %7D%0A    %7D%0A%7D%0A

Add DiscordUtilities