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
// yobot.js - Plugin para agregar sesiones al config.json | |
// Debes Agregar un nuevo id propio primero, ya que el anterior sera reemplazado. | |
// Weskerty | |
const fs = require('fs').promises; | |
const path = require('path'); | |
const { bot, lang, sleep } = require('../lib'); | |
const { restartInstance } = require('../lib/pm2'); |
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 fs = require('fs').promises; | |
const { createReadStream, existsSync, statSync } = require('fs'); | |
const path = require('path'); | |
const { exec } = require('child_process'); | |
const { promisify } = require('util'); | |
const { bot } = require('../lib'); | |
require('dotenv').config(); | |
const execPromise = promisify(exec); |
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', |
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 } = require('../lib'); | |
const config = { | |
media: { | |
directory: process.env.AMULEDOWNLOADS || path.join(process.cwd(), 'tmp'), | |
maxFilesToSend: 20, | |
maxFileSize: Number(process.env.MAX_UPLOAD || 1500) * 1048576 // 1.5 GB | |
}, |
NewerOlder