1 | static long postToSmartBotsChat_user_lastPost = -60000; |
2 | static bool postToSmartBotsChat_user_printStackTrace; |
3 | |
4 | static bool postToSmartBotsChat_user(S text) { |
5 | if (empty(text)) false; |
6 | if (postToSmartBotsChat_user_printStackTrace) printStackTrace(); |
7 | text = shorten(text, stefansChat_messageLimit()); |
8 | print("CHAT>> " + text); |
9 | bool ok = eq("OK", loadPage("https://botcompany.de/" + psI(#1011975) + "/raw/msg" + htmlQuery(message := text, _pass := muricaPassword()))); |
10 | postToSmartBotsChat_user_lastPost = sysNow(); |
11 | ret ok; |
12 | } |
Began life as a copy of #1011978
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013480 |
Snippet name: | postToSmartBotsChat_user - returns true if successful |
Eternal ID of this version: | #1013480/4 |
Text MD5: | 0948882828806f304be6ac629dcd3f02 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-07 14:31:46 |
Source code size: | 543 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 493 / 474 |
Version history: | 3 change(s) |
Referenced in: | [show references] |