Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MR414N-ID
GitHub Repository: MR414N-ID/botku2
Path: blob/master/node_modules/@bochilteam/scraper/lib/cjs/games/family100.js
1126 views
1
"use strict";
2
var __importDefault = (this && this.__importDefault) || function (mod) {
3
return (mod && mod.__esModule) ? mod : { "default": mod };
4
};
5
Object.defineProperty(exports, "__esModule", { value: true });
6
exports.family100json = void 0;
7
const got_1 = __importDefault(require("got"));
8
async function family100() {
9
if (!exports.family100json) {
10
exports.family100json = await (0, got_1.default)('https://raw.githubusercontent.com/BochilTeam/database/master/games/family100.json').json();
11
}
12
return exports.family100json[Math.floor(Math.random() * exports.family100json.length)];
13
}
14
exports.default = family100;
15
//# sourceMappingURL=family100.js.map
16