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 { readFileSync, unlinkSync, writeFileSync } from "node:fs"; | |
| import { Zalo } from "zca-js"; | |
| import axios from "axios"; | |
| const zalo = new Zalo({ | |
| selfListen: true, | |
| }); | |
| const api = await zalo.login(JSON.parse(readFileSync("./credentials.json", "utf-8"))); | |
| const imgURL = "https://i.ibb.co/f8rxY5m/luquy.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
| const container = document.querySelector(".xamitd3.x1sy10c2.xieb3on.x193iq5w.xrljuej.x1aody8q"); | |
| function main(i = 0) { | |
| if (i == 20) { | |
| console.log("Nghỉ ngơi 2s"); | |
| return setTimeout(main, 2000) | |
| } | |
| setTimeout(() => { | |
| const decline = document.querySelector("[aria-label=\"Từ chối\"]") || document.querySelector("[aria-label=\"Decline\"]"); |
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
| let selectAll = document.querySelector("[aria-label=\"Select all\"]") || document.querySelector("[aria-label=\"Chọn tất cả\"]"); | |
| let decline = document.querySelector("[aria-label=\"Decline\"]") || document.querySelector("[aria-label=\"Từ chối\"]"); | |
| let getDone = () => document.querySelector("[aria-label=\"Done\"]") || document.querySelector("[aria-label=\"Xong\"]"); | |
| let postContainer = document.querySelector(".xamitd3.xw7yly9.x193iq5w.x1xfsgkm.xqmdsaz.xvue9z.xq1tmr.x1ceravr"); | |
| let sleep = (ms) => new Promise(res => setTimeout(res, ms)); | |
| async function main() { | |
| if (!selectAll || !decline) return; | |
| if (getDone() != null || selectAll.getAttribute("aria-disabled") == "true") { |
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 "../cleanup.js"; | |
| import {} from "dotenv/config"; | |
| import { writeFileSync } from "fs"; | |
| import { resolve as resolvePath } from "path"; | |
| import logger from "./var/modules/logger.js"; | |
| import login from "@xaviabot/fca-unofficial"; | |
| import startServer from "./dashboard/server/app.js"; | |
| import handleListen from "./handlers/listen.js"; |
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 replitDB from "@replit/database"; | |
| import { resolve as resolvePath } from 'path'; | |
| import { readFileSync, writeFileSync } from "fs"; | |
| import { execSync } from "child_process"; | |
| import { config } from 'dotenv'; | |
| config(); | |
| /** | |
| * Check the encrypt state of the appstate then return the decrypted one. | |
| */ |
This file has been truncated, but you can view the full file.
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
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
| [ | |
| "Chớ nghe lời phỉnh tiếng phờ\nThò tay vào lờ, mắc kẹt cái hom", | |
| "Măng chua nấu cá ngạch nguồn\nSự đời đắp đổi, khi buồn khi vui.", | |
| "Yêu nhau xé lụa may quần\nGhét nhau kể nợ kể nần nhau ra", | |
| "Ai ơi chớ vội cười nhau\nCây nào mà chẳng có sâu chạm cành", | |
| "Khi giàu chẳng có đỡ ai\nĐến khi hoạn nạn chẳng ai đỡ mình", | |
| "Ở sao cho vừa lòng người\nỞ rộng người cười, ở hẹp người chê.", | |
| "Chim khôn chưa bắt đã bay,\nNgười khôn ít nói, ít hay trả lời", | |
| "Thuốc đắng dã tật, sự thật mất lòng.", | |
| "Một lời nói dối, sám hối bảy ngày.", |
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
| module.exports.config = { | |
| name: "dich", // Tên lệnh, được sử dụng trong việc gọi lệnh | |
| version: "1.0.0", // phiên bản của module này | |
| hasPermssion: 0, // Quyền hạn sử dụng, với 0 là toàn bộ thành viên, 1 là quản trị viên trở lên, 2 là admin/owner | |
| credits: "Copilot", // Công nhận module sở hữu là ai | |
| description: "Copilot ggdich test", // Thông tin chi tiết về lệnh | |
| commandCategory: "group", // Thuộc vào nhóm nào: system, other, game-sp, game-mp, random-img, edit-img, media, economy, ... | |
| usages: "[lang] [text]", // Cách sử dụng lệnh | |
| cooldowns: 5 | |
| }; |
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
| function config(){ | |
| return{ | |
| "name": "Anime", | |
| "main": "Anime.js", | |
| "commandMap": { | |
| "loli": { | |
| "more": "", | |
| "des": "Request ảnh loli", | |
| "func": "loli" | |
| }, |
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
| module.exports.config = { | |
| name: "fbcover", // Tên lệnh, được sử dụng trong việc gọi lệnh | |
| version: "1.0.0", // phiên bản của module này | |
| hasPermssion: 0, // Quyền hạn sử dụng, với 0 là toàn bộ thành viên, 1 là quản trị viên trở lên, 2 là admin/owner | |
| credits: "DungUwU", // Công nhận module sở hữu là ai | |
| description: "blah blah blha", // Thông tin chi tiết về lệnh | |
| commandCategory: "general", // Thuộc vào nhóm nào: system, other, game-sp, game-mp, random-img, edit-img, media, economy, ... | |
| usages: "", | |
| cooldowns: 5 | |
| }; |
NewerOlder