Warning: session_start(): open(/var/lib/php/sessions/sess_75c36mnsul6gjoqv2jlq06c95m, 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
svoid dm_discord_gatherFeedbackFromLine(GazelleLine line) pcall {
S mrStruct = gazelle_discord_matchedRuleStructForMsgID(l.msgID);
if (mrStruct == null) continue; // with print("Not a Gazelle line or legacy");
print("Processing: " + l.msgID + " - " + l.text);
printIndent(shorten(mrStruct, 50));
printIndent(l.reactions);
LS posNeg = uniquifyCI(map dm_posNegStringForEmoji(collect emoji(l.reactions)));
printIndent("posNeg = " + posNeg);
if (l(posNeg) > 1) continue with warn(" Mixed feedback, skipping");
S judgement = cic(posNeg, 'positive) ? 'good : 'bad;
dm_gazelle_saveAppliedRule(
+judgement,
matchedRuleStruct := mrStruct,
context := "discord msg " + l.msgID);
}