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 efce799 commit 7b93897Copy full SHA for 7b93897
1 file changed
application/src/main/java/org/togetherjava/tjbot/features/moderation/TransferQuestionCommand.java
@@ -100,10 +100,7 @@ public void onMessageContext(MessageContextInteractionEvent event) {
100
.formatted(originalMessage);
101
Optional<String> chatGptTitle = chatGptService.ask(chatGptTitleRequest, null);
102
String title = chatGptTitle.orElse(createTitle(originalMessage));
103
-
104
- // Fix
105
title = title.replaceAll("^[\"']|[\"']$", "");
106
- //
107
108
if (title.length() > TITLE_MAX_LENGTH) {
109
title = title.substring(0, TITLE_MAX_LENGTH);
0 commit comments