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

11
LINES

< > BotCompany Repo | #1003095 // rawBotLink - link to a bot, "raw" page version (no title)

JavaX fragment (include)

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

Author comment

Began life as a copy of #1003010

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: #1003095
Snippet name: rawBotLink - link to a bot, "raw" page version (no title)
Eternal ID of this version: #1003095/4
Text MD5: b2cb6c3374eda5aa823a13e9920f6197
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-01 15:10:24
Source code size: 299 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 648 / 752
Version history: 3 change(s)
Referenced in: [show references]