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

11
LINES

< > BotCompany Repo | #1002712 // SNL Tree Bot

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (3591L/24K/78K).

!752

answer {
  if (!attn()) ret null;
  
  s = s.trim();
  if (s.startsWith("tree ")) exceptionToUser {
    S input = dropPrefix("tree ", s).trim();
    ret slackSnippet(snlToTree(input));
  }
}

Author comment

Began life as a copy of #1002689

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: #1002712
Snippet name: SNL Tree Bot
Eternal ID of this version: #1002712/1
Text MD5: 67710aa33ebd8d0e8882b9b9893dc76b
Transpilation MD5: 1c05eceb06204e6971c378e6735a43f6
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-25 21:30:19
Source code size: 208 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 600 / 847
Referenced in: [show references]