Warning: session_start(): open(/var/lib/php/sessions/sess_pa75u8n3hpvd1m5gc7afr3sshj, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
!include once #1025868 // DynTalkBot2 compact include
standardBot1 agiBlueRulesBot {
processSimplified {
if null (s = dropMyPrefixOrNull(s)) null;
long channelID = longPar channelID(_);
L rules = agiBlue_ruleObjects();
L matches = agiBlue_matchAllRulesOnInput(s);
if (empty(matches)) ret "No matches with " + nRules(rules);
L matches2 = takeFirst(5, matches);
postInChannel(MessageChannel channel, S msg, IVF1 onPost)
LS rendered = map(matches2, mm -> backtickQuote(mm.rewrittenRHS())
+ "\n " + mm.map);
for (S r : rendered)
postInChannel(channelID, r, msg -> {
msg.addReaction(unicode_thumbsUp()).queue();
msg.addReaction(unicode_thumbsDown()).queue();
});
postInChannel(plusNMoreWithNL(matches, matches2));
}
}