Skip to content

Commit 8ba7d65

Browse files
committed
improve formatting
1 parent db6fd4b commit 8ba7d65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/qotw/model/QOTWSubmission.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public void retrieveAuthor(Consumer<User> onSuccess) {
3131
onSuccess.accept(author);
3232
return;
3333
}
34-
thread.getJDA().retrieveUserById(thread.getName().split(" - ")[1]).queue(onSuccess, e-> ExceptionLogger.capture(e, QOTWSubmission.class.getSimpleName()));
34+
thread
35+
.getJDA()
36+
.retrieveUserById(thread.getName().split(" - ")[1])
37+
.queue(onSuccess, e -> ExceptionLogger.capture(e, QOTWSubmission.class.getSimpleName()));
3538
}
3639
}

0 commit comments

Comments
 (0)