Skip to content

Instantly share code, notes, and snippets.

@alaninnovates
alaninnovates / calculate.js
Last active June 20, 2022 21:47
Islands Totem Calculator
const { MessageEmbed } = require('discord.js');
const columnify = require('columnify');
const { itemData, totemData, lmcPrice, priceData } = require('../data');
const { getUserPrices } = require('../util');
const INVALID_INPUT_MESSAGE =
'One or more of your inputs are not valid. Input must be in the format of `utility/efficiency/quality` and all values must be between 0 and 53.';
const parseInteger = (str) => {
if (!/^(0|[1-9]\d*)$/.test(str)) return;
@alaninnovates
alaninnovates / lol.md
Last active December 30, 2021 07:04
lol

haha yes very funny
"getting the gist of things"
much funny
very make me laughing img thing

function randomThing() {
print('e')
}