diff --git a/src/main/java/net/neoforged/camelot/module/FilePreviewModule.java b/src/main/java/net/neoforged/camelot/module/FilePreviewModule.java index 8ffabc3..5a84415 100644 --- a/src/main/java/net/neoforged/camelot/module/FilePreviewModule.java +++ b/src/main/java/net/neoforged/camelot/module/FilePreviewModule.java @@ -80,7 +80,7 @@ public void registerListeners(JDABuilder builder) { // Only set the description to the contents if there's no codeblocks inside the message if (matchFindingStart == 0) { - gist.description(it.getContentRaw()); + gist.description(Utils.truncate(it.getContentRaw(), 256)); } final var url = gist.create().getHtmlUrl().toString();