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)

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

static S relativeBotLink(S botID) {
  ret "/" + parseSnippetID(botID);
}

static S relativeBotLink(S botID, S uri) {
  ret "/" + parseSnippetID(botID) + addPrefix("/", uri);
}

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: 400 / 438
Version history: 2 change(s)
Referenced in: [show references]