Merge remote-tracking branch 'origin/1.6.x' into 1.6.x
This commit is contained in:
commit
e0134d680e
@ -61,6 +61,7 @@ public class Discord {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static Boolean startBot() {
|
private static Boolean startBot() {
|
||||||
|
if (!Conf.useDiscordSystem) {return false;}
|
||||||
try {
|
try {
|
||||||
jda = new JDABuilder(AccountType.BOT).setToken(Conf.discordBotToken).buildBlocking();
|
jda = new JDABuilder(AccountType.BOT).setToken(Conf.discordBotToken).buildBlocking();
|
||||||
} catch (LoginException | InterruptedException e) {
|
} catch (LoginException | InterruptedException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user