This file contains hidden or 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
| /** | |
| * Credit | |
| * - ZTRdiamond | |
| * - Source: https://whatsapp.com/channel/0029VbC6NKM96H4ZW9Q5az2R | |
| * - Source: https://whatsapp.com/channel/0029VagFeoY9cDDa9ulpwM0T | |
| */ | |
| function startRace(betHorses = []) { | |
| if (!Array.isArray(betHorses)) throw new Error("Taruhan harus berupa array."); | |
| if (betHorses.length === 0) throw new Error("Minimal pasang 1 kuda untuk taruhan."); |
This file contains hidden or 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
| import makeWASocket, { useMultiFileAuthState, DisconnectReason } from "baileys"; | |
| import { ShardManager } from "baileys-shard"; | |
| import { Boom } from "@hapi/boom"; | |
| import Pino from "pino"; | |
| console.log(await import("baileys-shard")) | |
| const manager = new ShardManager(); | |
| function parseArgs(input = "") { | |
| const args = (input || "").match(/--\w+(?:[= ](?:[^\s"']+|".+?"|'.+?'))?/g) || []; | |
| const result = {}; | |
| const argRegex = /--(\w+)(?:[= ]((?:[^\s"']+)|(?:"[^"]*")|(?:'[^']*')))?/; |
This file contains hidden or 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
| import axios, { AxiosInstance } from "axios"; | |
| const api: AxiosInstance = axios.create({ | |
| baseURL: "https://novelhubapp.com/wefeed-h5novel-bff", | |
| timeout: 120000, | |
| headers: { | |
| 'Accept': 'application/json', | |
| 'Origin': 'https://novelhubapp.com', | |
| 'Referer': 'https://novelhub.com/', | |
| 'User-Agent': 'ZanixonGroup/1.0.0', |
This file contains hidden or 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
| import axios from "axios"; | |
| function ip() { | |
| const x = (a) => (Math.random() * a).toFixed(); | |
| return `${x(300)}.${x(300)}.${x(300)}.${x(300)}`; | |
| } | |
| export default async function txt2img(prompt) { | |
| try { | |
| return new Promise((resolve, reject) => { |
This file contains hidden or 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
| import axios from "axios"; | |
| import FormData from "form-data"; | |
| export default async function animefinder(image) { | |
| try { | |
| return new Promise(async(resolve, reject) => { | |
| if(!Buffer.isBuffer(image)) return reject("missing input or invalid buffer!"); | |
| const form = new FormData(); | |
| form.append("image", image, { | |
| 'filename': Date.now() + '.png', |
This file contains hidden or 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
| import axios from "axios"; | |
| async function wattpadSearch(query, page = 1, limit = 10) { | |
| try { | |
| return new Promise(async (resolve, reject) => { | |
| if (!query) return reject("missing query input!"); | |
| if (!Number.isInteger(limit)) return reject("invalid limit input!"); | |
| const response = await axios.get('https://www.wattpad.com/v4/search/stories/', { | |
| params: { |
This file contains hidden or 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
| import axios from "axios"; | |
| const api = axios.create({ | |
| baseURL: "https://exomlapi.com/api", | |
| timeout: 120_000, | |
| headers: { | |
| 'Authority': 'exomlapi.com', | |
| 'Accept': '*/*', | |
| 'Content-Type': 'application/json,*/*', | |
| 'Origin': 'https://exomlapi.com', |
This file contains hidden or 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
| import axios from "axios"; | |
| /* | |
| Created by https://github.com/ztrdiamond ! | |
| Source: https://whatsapp.com/channel/0029VagFeoY9cDDa9ulpwM0T | |
| "Aku janji jika hapus watermark ini maka aku rela miskin hingga 7 turunan" | |
| */ | |
| async function cobalt(config) { | |
| try { |
This file contains hidden or 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
| import axios from "axios"; | |
| /* | |
| Created by https://github.com/ztrdiamond ! | |
| Source: https://whatsapp.com/channel/0029VagFeoY9cDDa9ulpwM0T | |
| "Aku janji jika hapus watermark ini maka aku rela miskin hingga 7 turunan" | |
| */ | |
| async function stickers(query, page = 1) { | |
| try { |
This file contains hidden or 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
| import axios from "axios"; | |
| /* | |
| Created by https://github.com/ztrdiamond ! | |
| Source: https://whatsapp.com/channel/0029VagFeoY9cDDa9ulpwM0T | |
| "Aku janji jika hapus watermark ini maka aku rela miskin hingga 7 turunan" | |
| */ | |
| async function gpt4o(options) { | |
| try { |
NewerOlder