UNPKG

@aidarkezio/main-func

Version:
15 lines • 692 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.tebakgambarjson = void 0; const got_1 = __importDefault(require("got")); async function tebakgambar() { if (!exports.tebakgambarjson) { exports.tebakgambarjson = await (0, got_1.default)('https://raw.githubusercontent.com/BochilTeam/database/master/games/tebakgambar.json').json(); } return exports.tebakgambarjson[Math.floor(Math.random() * exports.tebakgambarjson.length)]; } exports.default = tebakgambar; //# sourceMappingURL=tebakgambar.js.map