Uses 4998K of libraries. Click here for Pure Java version (17723L/128K).
java.lang.RuntimeException: Unknown token 2: <:
Warning: session_start(): open(/var/lib/php/sessions/sess_rrn9rco3h7de2kr36m4veftcj7, 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
{"1000628":"first function","1000658":"print function (=System.out.println + logging in memory)","1000811":"parseInt - returns 0 on \"\" or null","1000997":"loadSnippet and dependencies (with (hopefully) better caching, current)","1001038":"last function (get last element of list or last character in string)","1001326":"programID","1001496":"class Matches","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1001520":"eqic (short for equalsIgnoreCase)","1001735":"unquote - opposite of quote. also takes single quoted strings","1001992":"str function (=String.valueOf + extensions)","1002048":"dropSuffix - note the (maybe) curious argument order","1002071":"trim function","1002956":"toLong - convert to long with default 0","1003577":"eqicOneOf - equalsIgnoreCase, multiple checks","1007915":"replacePrefix - replace string prefix if there","1008505":"synchroSet - synonym of synchroHashSet","1008718":"replaceIC - replace element in list (ignoring case); also replace substrings","1009832":"change - indicate change in mainConcepts","1011049":"swic_trim - trim matches","1011101":"replaceSuffix","1011578":"paramsPlus - concat param arrays (second one overrides)","1011995":"snippetURL - synonym of snippetLink","1012594":"swicOneOf_trim","1012632":"n2 - n2(3, \"item\") => \"3 items\". Also n2(1234) = \"1,234\"","1016577":"set_trueIfChanged","1019483":"dm_setModuleName","1019801":"lines_rtrim - synonym of rtrim_fromLines","1021370":"regexpReplace_direct - with direct replacement","1023493":"DynDiscordHopper [eats Discord tokens & duplicates itself, seems to work]","1023585":"mapEachLine_tlft_nempties - lines_possiblyRTrim(nempties(map(tlft(...)))) [drop empty lines in output]","1024010":"discord_google - google and format for Discord (<> stops Discord from \"previewing\" links)","1024021":"with - synonym of withComputing","1024029":"simpleSpaces_noTok","1024070":"backtickQuote - synonym of encloseInBackticks","1024116":"endsWithEllipsis","1024117":"regexpICFullMatch_groups","1024120":"ellipsisToDotPlusRegexpIC_matchAny","1024123":"elementPlusList - synonym of itemPlusList","1024124":"nResults","1024126":"words2_spaces - deeply extract all words (and numbers) from string, join with space","1024127":"swic_trim_any - synonym of swicOneOf_trim","1024132":"syncGetOrCreate2 - map lookup or create from class, return whether key is new","1024137":"discord_isNSFWChannel_gen - also false for private channels","1024195":"countValuesWhere - count map values that match a data condition (fields+values)","1024373":"nSearches","1025374":"answerToHello"} 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)
Began life as a copy of #1024114
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024131 |
| Snippet name: | GBot v3 (Discord Bot that googles, server-aware version, LIVE) |
| Eternal ID of this version: | #1024131/28 |
| Text MD5: | 8e6f72d228a56266f28f2d9013ba4b8e |
| Transpilation MD5: | fd5204bd7756f6f60d3251232440c2d3 |
| Author: | stefan |
| Category: | javax / discord / a.i. |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-10-23 22:32:59 |
| Source code size: | 4631 bytes / 141 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 670 / 2002 |
| Version history: | 27 change(s) |
| Referenced in: | #1025127 - DynServerAwareDiscordBot |