Skip to content

Commit aa3f201

Browse files
committed
Fixed issue where whatsNew would not print if the changelog is too long
1 parent 7d310d8 commit aa3f201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Slack-GPT-Socket/SlackHandlers/Command/WhatsNewCommandStrategy.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ public async Task<SlashCommandResponse> Execute(SlashCommand command)
8787
releaseNotes.AppendLine($"\t{release.HtmlUrl}");
8888
}
8989

90-
return CommandStrategyUtils.SlashCommandResponse(releaseNotes.ToString());
90+
return CommandStrategyUtils.SlashCommandResponse(releaseNotes.ToString()[..1000]);
9191
}
9292
}

0 commit comments

Comments
 (0)