This file contains 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 | |
dank = [ | |
`A FIFO Data Manager (FDM) collects the digital output data of these modules and sorts them by time. HEPI gets the data via an unidirectional High Bit Rate Serial Interface (HBR I/F) from each detector.`, | |
`A forex dealer member (FDM) is an entity that acts, or offers to act, as a counterparty to an off-exchange foreign currency transaction with a person who is not an eligible contract participant and the transaction is either: 1. a futures contract, an option on a futures contract or an option contract (except options traded on a securities exchange); or 2. offered or entered into, on a leveraged or margined basis, or financed by the offeror, counterparty or person acting in concert with the offeror or counterparty on a similar basis. To register as an FDM, visit the RFED/FDM registration page.`, | |
`A ping-based, non-distributed, adaptive failure detector (FDM) monitors the reimplementation of the PFS_E module. It functions similarly to the detector described: every Ai seconds, the detecto |
This file contains 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 = [ | |
Uint8Array.of( | |
1, | |
2, | |
6, | |
11, | |
12, | |
13, | |
15, |
This file contains 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 = [ | |
Uint8Array.of( | |
1, | |
2, | |
6, | |
11, | |
12, | |
13, | |
15, |
This file contains 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 | |
fmt = num => { | |
if (num >= 11 && num <= 13) | |
return num += `th` | |
switch (num % 10) { | |
case 1: | |
return num + `st` | |
case 2: | |
return num + `nd` | |
case 3: |
This file contains 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 fishCount = ~~customData.get(`fish_count`) | |
let caught = customData.get(`fish`) ?? [] | |
if (!Array.isArray(caught)) | |
switch (typeof caught) { | |
case `string`: | |
const | |
fishes = Uint16Array.of(1, 15, 21, 22, 23, 34, 41, 1406, 1443), | |
emojis = [] | |
for (let emoji of caught.trim()) |
This file contains 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 | |
loveEmotes = [ | |
`catboyKiss`, | |
`catKISS`, | |
`Kissaweeb`, | |
`KittyKiss`, | |
`BearHug`, | |
`catboyHuggies`, | |
`forsenHug`, | |
`HUGGIES`, |
This file contains 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 | |
execute = async function () { | |
const cmd = await command.execute(...arguments) | |
if (!cmd.success) { | |
let acc = `` | |
for (const argument of arguments) | |
acc += argument + ` ` | |
throw Error(`$${acc}\u{2022} ${cmd.reason ?? cmd.reply}`) | |
} | |
return cmd.reply |
This file contains 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 | |
execute = async function () { | |
const cmd = await command.execute(...arguments) | |
if (!cmd.success) { | |
let acc = `` | |
for (const argument of arguments) | |
acc += argument + ` ` | |
throw Error(`$${acc}\u{2022} ${cmd.reason ?? cmd.reply}`) | |
} | |
return cmd.reply |
This file contains 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 | |
scramble = `scramble`, | |
scrambled = scramble + `d`, | |
admins = new Set() | |
.add(4333339) | |
.add(15619810), | |
rw = async () => { | |
const cmd = await command.execute(rw.name) |
This file contains 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 | |
y = 31_536_000, | |
d = 86_400, | |
h = 3_600, | |
m = 60, | |
SecondsConverter = function (input) { | |
let remainder | |
this.y = input / y | 0 |
OlderNewer