diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index b6281ea..be478bc 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -38,7 +38,7 @@ module.exports = { case 4: output = design4(inputString); } - console.log(codeBlock("", output)); + //console.log(codeBlock("", output)); let 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 + testLength.length) + " characters.)"); @@ -178,7 +178,7 @@ function design4(input) { // for vertical movement for (j = 0; j <= 2 * radius; j++) { dist = Math.sqrt( - ((i - radius) * (i - radius) * 4) + + ((i - radius) * (i - radius) * 4) + // (* 4) accounts for the offset between lines (j - radius) * (j - radius) ); //console.log(i, j, radius, dist);