Added /drawtriangle command
This commit is contained in:
parent
ae7043c3b5
commit
39b3d929a8
@ -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 + " characters.)");
|
||||
return;
|
||||
}
|
||||
await interaction.reply(codeBlock("", output) + testLength);
|
||||
|
Loading…
Reference in New Issue
Block a user