diff --git a/src/modules/codePreviews.js b/src/modules/codePreviews.js index 971bbb8..f9c7a4e 100644 --- a/src/modules/codePreviews.js +++ b/src/modules/codePreviews.js @@ -104,6 +104,8 @@ events.add("messageCreate", "codePreviews", async function (msg) { } } + if (out.length > 2000) return; + if (out !== "") { await msg.edit({flags: 1 << 2}); await msg.channel.createMessage({