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

11
LINES

< > BotCompany Repo | #1013424 // relativeBotLink - link to a bot, non-"raw" version

JavaX fragment (include)

1  
sS relativeBotLink() {
2  
  ret relativeBotLink(programID());
3  
}
4  
5  
static S relativeBotLink(S botID) {
6  
  ret "/" + parseSnippetID(botID);
7  
}
8  
9  
static S relativeBotLink(S botID, S uri) {
10  
  ret "/" + parseSnippetID(botID) + addPrefix("/", uri);
11  
}

Author comment

Began life as a copy of #1010367

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: #1013424
Snippet name: relativeBotLink - link to a bot, non-"raw" version
Eternal ID of this version: #1013424/3
Text MD5: a9d050498acdba0ba586e5ff1bd6e9d4
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-06 06:24:26
Source code size: 249 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 401 / 439
Version history: 2 change(s)
Referenced in: [show references]