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

352
LINES

< > BotCompany Repo | #1026297 // Discord Cloner ["Hypercubes Bot", LIVE]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 11217K of libraries. Click here for Pure Java version (20089L/107K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_ch0c16fsnd3farr0ud6nmfmb5s, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000619":"get function","1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000801":"now function","1000843":"copyFile - returns dest","1001038":"last function (get last element of list or last character in string)","1001049":"loadTextFile (function)","1001166":"toUtf8","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001757":"isMap","1001913":"unnull","1001927":"diff - get elements of one collection that are not in another collection (works on any collection type)","1001954":"getString - getOpt with cast to string","1002108":"empty - extended synonym of isEmpty","1002500":"values function","1003008":"or2 function - return string or default value if string is empty (=null or \"\")","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003524":"filter","1003638":"litorderedmap - create LinkedHashMap with items","1004219":"Pair - value pair; sorted by a, then b","1004220":"pair - make value pair","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1004677":"prepareCacheProgramFile","1005404":"getLong - getOpt with cast to long (or 0)","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006744":"deleteFile","1007362":"fileExists - also true for a directory","1007439":"lines - short for fromLines \/ toLines","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008055":"mapGet","1008543":"mapToLines - different meanings","1009173":"Either - union type","1009659":"eitherA - synonym of either1 - create Either object with first variant","1009660":"eitherB - synonym of either2 - create Either object with second variant","1010254":"pairA - synonym of firstOfPair","1010527":"conceptsFile - path to file with a program's concepts","1010842":"trueOrNull - convert true to TRUE, false to null","1012861":"dateWithSecondsGMT","1013911":"doEveryAndNow - synonym of doEveryStartingNow","1014940":"toColor","1015193":"appendToFileName - synonym of fileAppendToName","1020608":"eitherGetA - synonym of eitherAOpt","1023457":"gazelle_discord_playingGame","1024021":"with - synonym of withComputing","1024417":"discordAt","1025157":"dm_moduleStruct - synonym of dm_getStructure","1026251":"discordEmbed_addField - with splitting if >1k","1026299":"jsonEncode_breakAtNLevels - jsonEncode with line breaks in first n levels","1026301":"JsonDiff","1026304":"decodeJson - synonym of jsonDecode","1026307":"nicelyFormatJsonDiff","1026311":"changeKey - change key in map, in place","1026314":"isB - synonym of eitherIsB","1026534":"imageSnippetURL_noHttps - synonym of snippetImageURL_noHttps","1026535":"hexToUTF8","1026540":"containsOneKeyOf","1026542":"discordBotInviteLink","1026543":"discord_adminPermission","1026698":"webBot_answer"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1025767

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026297
Snippet name: Discord Cloner ["Hypercubes Bot", LIVE]
Eternal ID of this version: #1026297/163
Text MD5: 519794b2d4f9696c6f790d18f95cfc70
Transpilation MD5: f28532a9e8080681f680a4730558c410
Author: stefan
Category: javax / discord
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 23:04:57
Source code size: 11733 bytes / 352 lines
Pitched / IR pitched: No / No
Views / Downloads: 1203 / 95214
Version history: 162 change(s)
Referenced in: #1026316 - Discord Cloner v1 [saves and restores roles and members]