DiscordApiBuilder |
DiscordApiBuilder.setAccountType(AccountType type) |
Sets the account type.
|
DiscordApiBuilder |
DiscordApiBuilder.setCurrentShard(int currentShard) |
Sets shard for server sharding.
|
DiscordApiBuilder |
DiscordApiBuilder.setProxy(Proxy proxy) |
Sets the proxy which should be used to connect to the Discord REST API and web socket.
|
DiscordApiBuilder |
DiscordApiBuilder.setProxyAuthenticator(Authenticator authenticator) |
Sets the authenticator that should be used to authenticate against proxies that require it.
|
DiscordApiBuilder |
DiscordApiBuilder.setProxySelector(ProxySelector proxySelector) |
Sets the proxy selector which should be used to determine the proxies that should be used to connect to the
Discord REST API and web socket.
|
DiscordApiBuilder |
DiscordApiBuilder.setToken(String token) |
Sets the token which is required for the login process.
|
DiscordApiBuilder |
DiscordApiBuilder.setTotalShards(int totalShards) |
Sets total shards for server sharding.
|
DiscordApiBuilder |
DiscordApiBuilder.setTrustAllCertificates(boolean trustAllCertificates) |
Sets whether all SSL certificates should be trusted when connecting to the Discord API and web socket.
|
DiscordApiBuilder |
DiscordApiBuilder.setWaitForServersOnStartup(boolean waitForServersOnStartup) |
Sets if Javacord should wait for all servers to become available on startup.
|