// returns snippet ID sS ai_bakeABot(S destID, LS thinkBotIDs) { S srcID = #1017703; new StringBuilder buf; buf.append(loadSnippet(srcID)).append("\n"); for (S modID : thinkBotIDs) { L<S> tok = javaTokSnippet(modID); dropTranslators(tok); jreplace(tok, "set flag DynModule.", ""); jreplace(tok, "AbstractTelegramThinkBot", "AbstractThinkBot"); buf.append(join(tok)).append("\n"); } editSnippet(destID, str(buf)); transpileForServer(destID); ret destID; }
Began life as a copy of #1017819
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018380 |
Snippet name: | ai_bakeABot |
Eternal ID of this version: | #1018380/1 |
Text MD5: | 55c442562c1e05839d6ca2d57764e660 |
Author: | stefan |
Category: | javax / think bot |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-23 17:00:28 |
Source code size: | 515 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 368 / 390 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |