We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd0c13 commit 28c28b4Copy full SHA for 28c28b4
application/src/main/java/org/togetherjava/tjbot/features/help/HelpSystemHelper.java
@@ -205,7 +205,7 @@ private RestAction<Message> useChatGptFallbackMessage(ThreadChannel threadChanne
205
void writeHelpThreadToDatabase(long authorId, ThreadChannel threadChannel) {
206
207
Instant createdAt = Instant.now();
208
- String tag = threadChannel.getAppliedTags().get(0).getName();
+ String tag = threadChannel.getAppliedTags().getFirst().getName();
209
210
database.write(content -> {
211
HelpThreadsRecord helpThreadsRecord = content.newRecord(HelpThreads.HELP_THREADS)
0 commit comments