Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
144ae179cb
@ -20,9 +20,6 @@ module.exports = {
|
||||
if (design < 1 || design > 3) {
|
||||
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;
|
||||
switch (design) {
|
||||
case 1:
|
||||
@ -37,6 +34,9 @@ module.exports = {
|
||||
|
||||
}
|
||||
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));
|
||||
console.log("User " + interaction.user.tag + " ran /drawtriangle");
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user