Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
0c74ee8438
@ -37,7 +37,7 @@ module.exports = {
|
|||||||
console.log(codeBlock("", output));
|
console.log(codeBlock("", output));
|
||||||
var testLength = "\n" + 'output length was ' + (output.length) + " characters.";
|
var testLength = "\n" + 'output length was ' + (output.length) + " characters.";
|
||||||
if (output.length + testLength.length > 2000) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
await interaction.reply(codeBlock("", output) + testLength);
|
await interaction.reply(codeBlock("", output) + testLength);
|
||||||
|
Loading…
Reference in New Issue
Block a user