1 | svoid gazelle_copyReactionsForLineToLineJudgementCRUD(GazelleLine l) pcall {
|
2 | LS posNeg = uniquifyCI(map dm_posNegStringForEmoji(collectStrings emoji(l.reactions))); |
3 | printIndent("posNeg = " + posNeg);
|
4 | S judgement = null; |
5 | if (l(posNeg) > 1) judgement = 'mixed; |
6 | else judgement = cic(posNeg, 'positive) ? 'good : 'bad; |
7 | O concept = dm_call(dm_gazelle_lineJudgementCRUD(), |
8 | 'uniqConcept, |
9 | context := "discord msg " + l.msgID, |
10 | source := 'emojis); |
11 | call(concept, '_setField, +judgement); |
12 | } |
Began life as a copy of #1021726
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022204 |
| Snippet name: | gazelle_copyReactionsForLineToLineJudgementCRUD |
| Eternal ID of this version: | #1022204/3 |
| Text MD5: | f2bf6431b2ce1aa8a401235c2bc20b43 |
| Author: | stefan |
| Category: | javax / discord / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-29 21:40:08 |
| Source code size: | 520 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 549 / 535 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |