Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1021964 // dm_gazelle_combineQuestionAndAnswerFromChat

JavaX fragment (include)

static Pair<S, Bool> dm_gazelle_combineQuestionAndAnswerFromChat(long msgID1, long msgID2) {
  S q = dm_discord_textForMsgID(msgID1);
  S a = dm_discord_textForMsgID(msgID2);
  if (nempty(q) && nempty(a))
    ret dm_gazelle_addRuleWithComment(q + "\n+ " + a + "\n=> " + a,
      linesLL("discord", "in 2 = statement"));
  null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021964
Snippet name: dm_gazelle_combineQuestionAndAnswerFromChat
Eternal ID of this version: #1021964/1
Text MD5: c7d7df423e6bcb7fe4c8ffc94fedbf89
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 12:27:54
Source code size: 336 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 201 / 228
Referenced in: [show references]