svoid dm_discord_copyLineToLongAppliedRuleList(long msgID) pcall { if (nempty(dm_gazelle_applicationsForMsgID(msgID))) ret; try { S mrStruct = gazelle_discord_matchedRuleStructForMsgID(msgID); if (mrStruct == null) ret; // with print("Not a Gazelle line or legacy"); printIndent(shorten(mrStruct, 50)); // TODO: emojis dm_gazelle_saveAppliedRuleToLongList( matchedRuleStruct := mrStruct, context := "discord msg " + msgID); } on fail { print("Msg ID: " + msgID); } }