Added /drawtriangle command

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 21:36:48 +07:00
parent 72cd171f65
commit 95a74818dc
1 changed files with 1 additions and 1 deletions

@ -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);