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).

!7

p-exp {
  L<TelegramMsg> msgs = serverTelegramLog();
  MultiMap<S> ruleFires = ai_tg_rulesFiredOnMessages_fullMap();
  for (TelegramMsg msg : msgs) {
    LS rules = ruleFires.get(msg.globalID);
    if (nempty(rules))
      print(msg.globalID + " -> " + joinWithSpace(rules));
  }
}

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: 430 / 976
Version history: 1 change(s)
Referenced in: [show references]