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

633
LINES

< > BotCompany Repo | #1034047 // MKLab FM Bot with JDA 4.2 [backup before sharding]

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

Uses 39550K of libraries. Compilation Failed (21486L/117K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_9let5tatp0vo7t99e46fgr1kqf, 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
{"1000567":"isInteger","1000568":"computerID - get (and optionally create) computer's ID","1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000811":"parseInt - returns 0 on \"\" or null","1000837":"loadBinaryPage current","1001411":"isURL","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001561":"rtrim (now includes line breaks)","1001634":"cloneList - now safely clones a synchroList (synchronizing on it)","1001657":"loadPageWithTimeout","1001842":"match - synonym of match3","1001865":"neq function","1001918":"jsonDecodeMap","1001992":"str function (=String.valueOf + extensions)","1002071":"trim function","1002097":"replaceCollection","1002108":"empty - extended synonym of isEmpty","1002348":"nempty - not empty","1002559":"cloneMap - safely clone a map; null => HashMap. also: map over cloned list","1002966":"getChannel - synonym of getChannelName","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","1003329":"cic - short for containsIgnoreCase","1003524":"filter","1003741":"iround - round to int","1003781":"restart - clean-restart VM's main program (in new Java VM)","1003800":"endsWith","1003807":"_get - (partial) synonym of get - when get clashes with another method","1004683":"doEvery - install a java.util.Timer","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006239":"sysNow - access System nano-timer in milliseconds (more precise than now(), but not related to date)","1006459":"printWithTime","1007439":"lines - short for fromLines \/ toLines","1008055":"mapGet","1008505":"synchroSet - synonym of synchroHashSet","1009156":"joinWithComma - join with \", \" separator","1009832":"change - indicate change in mainConcepts","1011049":"swic_trim - trim matches","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1012808":"cloneValues - cloned list of values","1013911":"doEveryAndNow - synonym of doEveryStartingNow","1013971":"appendQueryToURL - breaking change: process # properly","1015618":"elapsedSeconds - uses sysNow if supplying a long","1015834":"NotTooOften","1016245":"dm_moduleID","1017216":"doAfter - synonym of doLater","1018288":"tempSetTL - synonym of tempSetThreadLocal","1019801":"lines_rtrim - synonym of rtrim_fromLines","1022070":"onlyEveryHour","1022216":"matchX2 - synonym of matchX_vbar","1022657":"mapNonNulls_pcall - synonym of map_pcall_notNull","1023457":"gazelle_discord_playingGame","1024021":"with - synonym of withComputing","1024070":"backtickQuote - synonym of encloseInBackticks","1024425":"randomInt - out of full int range (including negative values) + more syntax","1025121":"longPar - optPar, cast to long","1025128":"OLD DynTalkBot2 - DynServerAwareDiscordBot + input simplification, onUserJoin, name, authorizedUsers","1025345":"lavaPlayer_loadItem","1025346":"lavaPlayer_playerManager","1025347":"lavaPlayer_printPlayerEvents","1025372":"hasWhereMethodReturns","1025373":"nChannels","1025399":"imageSnippetURL - synonym of snippetImageURL","1025402":"nextGenBotsTestRoomID - now points to Swarm AI discord","1025745":"gazelle_dmGuildOwner - send private msg to guild owner","1025747":"nRadios","1025789":"SimpleCircularBuffer (synchronized)","1025837":"loadPageWithHeaders","1025935":"trackTitleFromAutoPostWidget","1025956":"lavaPlayer_createPlayer","1026029":"trackTitleFromIceCastStatusXSL","1026035":"isWebURL (http or https)","1026213":"discord_memberIDToEffectiveName","1026251":"discordEmbed_addField - with splitting if >1k","1030483":"inc - synonym of incAtomicLong + more","1030688":"ByteBuffer"} 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 #1030356

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034047
Snippet name: MKLab FM Bot with JDA 4.2 [backup before sharding]
Eternal ID of this version: #1034047/1
Text MD5: 5ddf0b76d5a53a1b4c8a37dd0c2681b2
Transpilation MD5: c3d4e948c87959e91dae57893dff3c81
Author: stefan
Category: javax
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-19 14:31:40
Source code size: 22702 bytes / 633 lines
Pitched / IR pitched: No / No
Views / Downloads: 527 / 646
Referenced in: [show references]