Skip to content

Commit 71b91d1

Browse files
Merge pull request #380 from Java-Discord/qotw-author-fix
fix dash symbol in QOTW submission owner check
2 parents 406f0fe + c7f9138 commit 71b91d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public void retrieveAuthor(Consumer<User> onSuccess) {
3333
}
3434
thread
3535
.getJDA()
36-
.retrieveUserById(thread.getName().split(" - ")[1])
36+
.retrieveUserById(thread.getName().split(" ")[1])
3737
.queue(onSuccess, e -> ExceptionLogger.capture(e, QOTWSubmission.class.getSimpleName()));
3838
}
3939
}

0 commit comments

Comments
 (0)