From 95a74818dc2c9a37f9b17742440b9d751b177b3c Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Tue, 4 Apr 2023 21:36:48 -0500 Subject: [PATCH] Added /drawtriangle command --- commands/drawTriangle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);