This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // node_modules/.pnpm/purify-ts@2.1.2/node_modules/purify-ts/esm/Maybe.js | |
| var Maybe = { | |
| of(value) { | |
| return just(value); | |
| }, | |
| empty() { | |
| return nothing; | |
| }, | |
| zero() { | |
| return nothing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // node_modules/.pnpm/purify-ts@2.1.2/node_modules/purify-ts/esm/Maybe.js | |
| var Maybe = { | |
| of(value) { | |
| return just(value); | |
| }, | |
| empty() { | |
| return nothing; | |
| }, | |
| zero() { | |
| return nothing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // node_modules/.pnpm/rescript@11.1.4/node_modules/rescript/lib/es6/caml_option.js | |
| function some(x) { | |
| if (x === void 0) { | |
| return { | |
| BS_PRIVATE_NESTED_SOME_NONE: 0 | |
| }; | |
| } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== void 0) { | |
| return { | |
| BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0 | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "colors": { | |
| "accent": "#00aeef", | |
| "messages": { | |
| "backgrounds": { | |
| "alternate": "#1d1d2a", | |
| "regular": "#191724" | |
| }, | |
| "disabled": "#7a1c1b2a", | |
| "highlightAnimationEnd": "#00e6e6e6", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // src/Supibot.res.mjs | |
| var prefix = "OOC_MSGS"; | |
| function getOoc() { | |
| var data = channelCustomData.get(prefix); | |
| if (data == null) { | |
| return { | |
| TAG: "Error", | |
| _0: "NoData" | |
| }; | |
| } else if (data.messages.length === 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class InvalidString extends Error { | |
| constructor(message, cause) { | |
| super(message); | |
| this.cause = cause; | |
| this.name = "InvalidString" | |
| } | |
| } | |
| const main = () => { | |
| const text = args.join(" "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const main = () => { | |
| const httpCode = JSON.parse(args[0]) | |
| if ( !Number.isInteger(httpCode)) { | |
| return "Provided arg is not an integer." | |
| } | |
| if (httpCode < 100) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const main = async () => { | |
| const cookie = await command.execute("cookie"); | |
| if ( cookie.success === false ) { | |
| return "You don't seem to have any cookies, mind opening some cases meanwhile?"; | |
| } | |
| const gameOptions = ["CS:GO aka CS2", "Team Fortress 2", "the Portal series", "the Half-Life series"]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //const bait_list = ["🪱", "🪰", "🦗"]; | |
| // | |
| // Fish game: | |
| // | |
| // You can execute the alias to catch a fish. | |
| // Given your current unluck percentage, which will increase over time | |
| // you get a higher chance to catch a fish | |
| // | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const flags = [].concat( | |
| [ | |
| `\u{1F1E9}`, | |
| `\u{1F1EA}`, | |
| `\u{1F1EB}`, | |
| `\u{1F1EC}`, | |
| `\u{1F1EE}`, | |
| `\u{1F1F1}`, | |
| `\u{1F1F2}`, | |
| `\u{1F1F4}`, |
NewerOlder