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

11
LINES

< > BotCompany Repo | #1014006 // rawBotLink_newServer - link to a bot, "raw" version on butter.*

JavaX fragment (include)

1  
sS rawBotLink_newServer() {
2  
  ret rawBotLink_newServer(programID());
3  
}
4  
5  
static S rawBotLink_newServer(S botID) {
6  
  ret "http://butter.botcompany.de:8080/" + parseSnippetID(botID) + "/raw";
7  
}
8  
9  
static S rawBotLink_newServer(S botID, S uri) {
10  
  ret "http://butter.botcompany.de:8080/" + parseSnippetID(botID) + "/raw" + addPrefix("/", uri);
11  
}

Author comment

Began life as a copy of #1003095

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: #1014006
Snippet name: rawBotLink_newServer - link to a bot, "raw" version on butter.*
Eternal ID of this version: #1014006/1
Text MD5: 27006e9c777e857ebc58f4bb739bdb43
Author: stefan
Category: eleu
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-19 18:47:52
Source code size: 351 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 345 / 392
Referenced in: [show references]