Skip to content

Commit b4d9cee

Browse files
authored
Merge pull request #417 from danthe1st/qotw-no-ai
Generative AI and Java-specific info for QOTW
2 parents 93aa7d8 + fc0ce9e commit b4d9cee

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/main/java/net/javadiscord/javabot/systems/qotw/jobs/QOTWJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void execute() throws SQLException {
7979
OffsetDateTime checkTime = OffsetDateTime.now().plusDays(6).withHour(22).withMinute(0).withSecond(0);
8080
return new EmbedBuilder()
8181
.setTitle("Question of the Week #" + question.getQuestionNumber())
82-
.setDescription(String.format("%s%n%nClick the button below to submit your answer.%nYour answer will be checked by <t:%d:F>",
82+
.setDescription(String.format("%s%n%nClick the button below to submit your answer.%nYour answer will be checked by <t:%d:F>%nUse of generative AI tools like ChatGPT is __not__ allowed",
8383
question.getText(), checkTime.toEpochSecond()))
8484
.build();
8585
}

src/main/java/net/javadiscord/javabot/systems/qotw/submissions/SubmissionManager.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,10 @@ private CompletableFuture<List<Message>> getMessagesByUser(@NotNull ThreadChanne
264264
.addField("Note",
265265
"""
266266
To maximize your chances of getting this week's QOTW Point make sure to:
267-
— Provide a **Code example** (if possible)
268-
— Try to answer the question as detailed as possible.
267+
- Provide a **Code example** (if possible)
268+
- Try to answer the question as detailed as possible.
269+
- Do not use generative AI tools like ChatGPT for answering the question.
270+
- Make sure your answer is specific to Java.
269271
270272
Staff usually won't reply in here.""", false)
271273
.setTimestamp(Instant.now())

0 commit comments

Comments
 (0)