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"); | |
const path = require("path"); | |
const { react01 } = require("../lib/extra"); | |
module.exports = { | |
command: ["vcf"], | |
description: "Export group members as VCF contact file", | |
isGroup: true, | |
async run({ sock, msg, from }) { |
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 yts = require('yt-search'); | |
const ytdl = require('@vreden/youtube_scraper'); | |
module.exports = { | |
command: ['play', 'music'], | |
description: 'Play music from YouTube', | |
category: 'Utility', | |
async run({ sock, msg, from, text }) { | |
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
const axios = require("axios"); | |
const { Sticker } = require("wa-sticker-formatter"); | |
const fs = require("fs"); | |
const path = require("path"); | |
const { exec } = require("child_process"); | |
const BOT_TOKEN = "8471487028:AAFjrO5F8cROISfn0VRIaXTZGhAZxLz1aW8"; | |
// Simple ffmpeg wrapper | |
async function convertToMP4(inputUrl, outputPath) { |
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"); | |
const path = require("path"); | |
const fetch = require("node-fetch"); | |
module.exports = { | |
name: "updateplugin", | |
description: "Update an existing plugin from a GitHub Gist", | |
aliases: ["upgradeplugin", "refreshplugin"], | |
async execute(msg, args, client) { | |
if (msg.author.id !== "1271807620340256791") |