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

11
LINES

< > BotCompany Repo | #1002577 // getSnippetTitle_overBot

JavaX fragment (include)

1  
static S getSnippetTitle_overBot(S snippetID) {
2  
  startBot("Snippet Title Bot", "#1001747");
3  
  // Use local version
4  
  //S s = sendToLocalBot(getVMPort() + "/Snippet Title Bot", "what is the title of snippet *", snippetID);
5  
  // Use bot VM version
6  
  S s = sendToLocalBot_cached("Snippet Title Bot", "what is the title of snippet *", snippetID);
7  
  new Matches m;
8  
  if (match("The title of snippet * is *.", s, m))
9  
    ret m.unq(1);
10  
  throw fail("Bot said: " + s);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002577
Snippet name: getSnippetTitle_overBot
Eternal ID of this version: #1002577/1
Text MD5: 58801e78a0f8ff030f1f7ff27511ee23
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-02 21:14:49
Source code size: 475 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 616 / 654
Referenced in: [show references]