Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1017851 // Scan fired rules in Telegram log (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (8980L/64K).

1  
!7
2  
3  
p-exp {
4  
  L<TelegramMsg> msgs = serverTelegramLog();
5  
  MultiMap<S> ruleFires = ai_tg_rulesFiredOnMessages_fullMap();
6  
  for (TelegramMsg msg : msgs) {
7  
    LS rules = ruleFires.get(msg.globalID);
8  
    if (nempty(rules))
9  
      print(msg.globalID + " -> " + joinWithSpace(rules));
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017851
Snippet name: Scan fired rules in Telegram log (OK)
Eternal ID of this version: #1017851/2
Text MD5: a55c6b749621c713546d564ebd4d3154
Transpilation MD5: eff87936ed670c83cb5eb7c73f87328c
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-18 12:30:38
Source code size: 295 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 431 / 982
Version history: 1 change(s)
Referenced in: [show references]