diff --git a/commands/drawTriangle.ts b/commands/drawTriangle.ts index 36e6c26..652d090 100644 --- a/commands/drawTriangle.ts +++ b/commands/drawTriangle.ts @@ -37,7 +37,7 @@ module.exports = { console.log(codeBlock("", output)); var testLength = "\n" + 'output length was ' + (output.length) + " characters."; if (output.length + testLength.length > 2000) { - await interaction.reply('Error: String is too big. Resultant output would be too big to send to Discord. (the output length was ' + output.length + " characters.)"); + await interaction.reply('Error: String is too big. Resultant output would be too big to send to Discord. (the output length was ' + (output.length + testLength.length) + " characters.)"); return; } await interaction.reply(codeBlock("", output) + testLength);