static long postToSmartBotsChat_user_lastPost = -60000; static bool postToSmartBotsChat_user_printStackTrace; static bool postToSmartBotsChat_user(S text) { if (empty(text)) false; if (postToSmartBotsChat_user_printStackTrace) printStackTrace(); text = shorten(text, stefansChat_messageLimit()); print("CHAT>> " + text); bool ok = eq("OK", loadPage("https://botcompany.de/" + psI(#1011975) + "/raw/msg" + htmlQuery(message := text, _pass := muricaPassword()))); postToSmartBotsChat_user_lastPost = sysNow(); ret ok; }
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: | 492 / 472 |
Version history: | 3 change(s) |
Referenced in: | [show references] |