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 inquirer from 'inquirer'; | |
| import { fileURLToPath } from 'url'; | |
| import { dirname, join } from 'path'; | |
| import { readdir, unlink, rm } from 'fs/promises'; | |
| import { existsSync } from 'fs'; |
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
| /* | |
| Script to update WAProto on baileys module (ESM Only) | |
| Created by github.com/MuhammadRestu999 | |
| */ | |
| import fs from "fs"; | |
| const text = async (url) => { | |
| const res = await fetch(url); | |
| const text = await res.text(); | |
| return text; |