static int bot_shortenAnswerForChatAndUploadFull_ultimateAnswerLimit = 500000; // max characters to upload to snippet static S bot_shortenAnswerForChatAndUploadFull(S botName, S text, S a) { a = shorten(a, bot_shortenAnswerForChatAndUploadFull_ultimateAnswerLimit); if (l(a) > stefansChat_messageLimit()) { S title = botName + "'s answer to: " + text; S id = ntUpload(botName + " for user", title, unSlackSnippet(a)); a = snippetURL(id) + " | " + a; } ret a; }