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)

sS rawBotLink() {
  ret rawBotLink(programID());
}

static S rawBotLink(S botID) {
  ret "https://" + myDomain() + "/" + parseSnippetID(botID) + "/raw";
}

static S rawBotLink(S botID, S uri) {
  ret "https://" + myDomain() + "/" + parseSnippetID(botID) + "/raw" + addPrefix("/", uri);
}

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: 569 / 670
Version history: 3 change(s)
Referenced in: [show references]