Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 21:18:55 +07:00
commit 144ae179cb
1 changed files with 3 additions and 3 deletions

@ -20,9 +20,6 @@ module.exports = {
if (design < 1 || design > 3) { if (design < 1 || design > 3) {
await interaction.reply('Invalid design choice.'); await interaction.reply('Invalid design choice.');
} }
if (inputString.length > 1000) {
await interaction.reply('String is too big. Resultant output would be too big to send to Discord.')
}
var output; var output;
switch (design) { switch (design) {
case 1: case 1:
@ -37,6 +34,9 @@ module.exports = {
} }
console.log(codeBlock("", output)); console.log(codeBlock("", output));
if (output.length > 2000) {
await interaction.reply('String is too big. Resultant output would be too big to send to Discord.')
}
await interaction.reply(codeBlock("", output)); await interaction.reply(codeBlock("", output));
console.log("User " + interaction.user.tag + " ran /drawtriangle"); console.log("User " + interaction.user.tag + " ran /drawtriangle");
}, },