Skip to content

Commit a0a420f

Browse files
committed
Changed to 500 since 1500 is too much.
1 parent ac3b73a commit a0a420f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/commands/ChangeMyMindCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class ChangeMyMindCommand implements SlashCommand {
2929
* lower to avoid issues, since the API fails with a 501 error. People
3030
* shouldn't really be putting paragraphs into this anyway.
3131
*/
32-
private static final int MAX_SEARCH_TERM_LENGTH = 1500;
32+
private static final int MAX_SEARCH_TERM_LENGTH = 500;
3333

3434
@Override
3535
public ReplyCallbackAction handleSlashCommandInteraction(SlashCommandInteractionEvent event) {

0 commit comments

Comments
 (0)