1 | svoid dm_discord_copyLineToLongAppliedRuleList(long msgID) pcall {
|
2 | if (nempty(dm_gazelle_applicationsForMsgID(msgID))) ret; |
3 | try {
|
4 | S mrStruct = gazelle_discord_matchedRuleStructForMsgID(msgID); |
5 | if (mrStruct == null) ret; // with print("Not a Gazelle line or legacy");
|
6 | printIndent(shorten(mrStruct, 50)); |
7 | // TODO: emojis |
8 | dm_gazelle_saveAppliedRuleToLongList( |
9 | matchedRuleStruct := mrStruct, |
10 | context := "discord msg " + msgID); |
11 | } on fail {
|
12 | print("Msg ID: " + msgID);
|
13 | } |
14 | } |
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: | #1021821 |
| Snippet name: | dm_discord_copyLineToLongAppliedRuleList |
| Eternal ID of this version: | #1021821/5 |
| Text MD5: | efd8636852459358606f1dc6a2e2a7fd |
| Author: | stefan |
| Category: | javax / discord / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-03 13:30:08 |
| Source code size: | 523 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 526 / 554 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |