Skip to content

Commit 95e71da

Browse files
author
EazyFTW
committed
Fixed NPE
1 parent 376009c commit 95e71da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/me/TechsCode/TechDiscordBot/TechDiscordBot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public TechDiscordBot(String token, String apiToken, MySQLSettings mySQLSettings
6767
builder.setActivity(Activity.watching("for help."));
6868
builder.setEventManager(new AnnotatedEventManager());
6969

70-
builder.build();
70+
jda = builder.build();
7171

7272
List<Guild> guilds = jda.getGuilds();
7373

0 commit comments

Comments
 (0)