@aidarkezio/main-func
Version:
📦 It has my funcs
9 lines • 351 B
JavaScript
import got from 'got';
export let bucinjson = [];
export default async function bucin() {
if (!bucinjson.length) {
bucinjson = await got('https://raw.githubusercontent.com/BochilTeam/database/master/kata-kata/bucin.json').json();
}
return bucinjson[Math.floor(bucinjson.length * Math.random())];
}
//# sourceMappingURL=bucin.js.map