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 axios = require('axios'); | |
| const cheerio = require('cheerio'); | |
| const { chromium } = require('playwright'); | |
| const fs = require('fs').promises; | |
| const path = require('path'); | |
| const os = require('os'); | |
| const { promisify } = require('util'); | |
| const { exec: execCallback } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| require('dotenv').config(); |
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 fs = require('fs').promises; | |
| const path = require('path'); | |
| const { promisify } = require('util'); | |
| const { exec: execCallback } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| const exec = promisify(execCallback); | |
| const utils = { | |
| delay: (ms) => new Promise(resolve => setTimeout(resolve, ms)), |
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 fs = require('fs').promises; | |
| const path = require('path'); | |
| const { bot, sleep } = require('../lib'); | |
| const { restartInstance } = require('../lib/pm2'); | |
| const T1 = "Converting, Restarting Bot, wait a moment..."; | |
| const T2 = "Session Manager"; | |
| const T3 = "Add new session:"; |
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 { bot } = require("../lib/"); | |
| const axios = require("axios"); | |
| bot( | |
| { | |
| pattern: "wiki ?(.*)", | |
| desc: "Search Wikipedia for a topic", | |
| type: "info", | |
| }, | |
| async (message, match) => { |
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
| // dtg.js is a complement to LevanterBot: https://github.com/lyfe00011/levanter | |
| // github.com/weskerty/TGStickerDownloader | |
| // Copyright (C) 2025 Weskerty | |
| // | |
| // Este programa se distribuye bajo los términos de la Licencia Pública General Affero de GNU (AGPLv3). | |
| // Usted puede usarlo, modificarlo y redistribuirlo bajo esa licencia. | |
| // Este software se proporciona SIN GARANTÍA alguna. | |
| // Licencia completa: https://www.gnu.org/licenses/agpl-3.0.html | |
| const fs = require('fs').promises; |
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
| // https://github.com/sevsec/vt-scan/blob/master/vt-scan.sh | |
| const fs = require('fs').promises; | |
| const path = require('path'); | |
| const axios = require('axios'); | |
| const crypto = require('crypto'); | |
| const FormData = require('form-data'); | |
| const { bot, isAdmin } = require('../lib'); | |
| // Idioma Dinamico. |
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
| // Original: https://gist.github.com/adityaparsad01/454bfaee41fd8eab580b2a3d1cb3aba6 | |
| const lib = require("../lib"); | |
| const { exec } = require("child_process"); | |
| lib.bot( | |
| { | |
| pattern: "cmd ?(.*)", | |
| fromMe: true, | |
| desc: "get linux machine", | |
| type: "machine" |
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 { bot } = require('../lib'); | |
| class DiceUtility { | |
| constructor() { | |
| this.diceUrls = [ | |
| 'https://tinyurl.com/gdd01', | |
| 'https://tinyurl.com/gdd02', | |
| 'https://tinyurl.com/gdd003', | |
| 'https://tinyurl.com/gdd004', | |
| 'https://tinyurl.com/gdd05', |
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 fs = require('fs').promises; | |
| const path = require('path'); | |
| const os = require('os'); | |
| const { promisify } = require('util'); | |
| const { exec: execCallback } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| require('dotenv').config(); | |
| const exec = promisify(execCallback); |
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
| // adaptado de: https://github.com/BrunoSobrino/TheMystic-Bot-MD/blob/master/plugins/herramientas-readmore.js | |
| const { bot } = require('../lib'); | |
| const more = String.fromCharCode(8206); | |
| const readMore = more.repeat(4001); | |
| bot( | |
| { | |
| pattern: 'readmore ?(.*)', | |
| desc: 'Add Readmore Hi|Readmore', |
NewerOlder