Skip to content

Commit 8d1e376

Browse files
committed
Added JDA#shutdown
1 parent 62364c9 commit 8d1e376

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/net/javadiscord/javabot/systems/staff_commands/RedeployCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public void execute(@NotNull SlashCommandInteractionEvent event) {
5858
ExceptionLogger.capture(e, getClass().getSimpleName());
5959
}
6060
Bot.getMessageCache().synchronize();
61+
event.getJDA().shutdown();
6162
System.exit(0);
6263
}
6364
}

0 commit comments

Comments
 (0)