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

9
LINES

< > BotCompany Repo | #1017850 // ai_tg_rulesFiredOnMessages_fullMap

JavaX fragment (include)

// msg id -> rule id
static MultiMap<S> ai_tg_rulesFiredOnMessages_fullMap() {
  new Matches m;
  new MultiMap<S> map;
  for (S s : mL("Telegram Rule Fires"))
    if (matchStart("Rule * fired on message *", s, m))
      map.put($2, $1);
  ret map;
}

Author comment

Began life as a copy of #1017825

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: #1017850
Snippet name: ai_tg_rulesFiredOnMessages_fullMap
Eternal ID of this version: #1017850/3
Text MD5: 82f9cb1c79b05beb8afb4b28997b1c8e
Author: stefan
Category: javax / telegram
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-18 12:21:13
Source code size: 259 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 379
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018138 - ai_tg_allFiredRules