longer outputs

This commit is contained in:
Flummi 2017-11-20 01:35:39 +01:00
parent b83cd626c3
commit 3b5b8cb79c

View File

@ -27,7 +27,7 @@ read().then(() => {
if (typeof output !== undefined && output !== "undefined" && output) { if (typeof output !== undefined && output !== "undefined" && output) {
let blah = JSON.stringify(output); let blah = JSON.stringify(output);
if (blah != "Converting circular structure to JSON") { if (blah != "Converting circular structure to JSON") {
e.reply(blah.length > 220 ? `holy fuck, Ausgabe wäre viel zu lang! (${blah.length} Zeichen :DDDDDD)` : blah); e.reply(blah.length > 400 ? `holy fuck, Ausgabe wäre viel zu lang! (${blah.length} Zeichen :DDDDDD)` : blah);
} }
} }
} }