Skip to content

Instantly share code, notes, and snippets.

View kunle-maker's full-sized avatar

Kunle the one kunle-maker

View GitHub Profile
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")
const { EmbedBuilder } = require("discord.js");
const axios = require("axios");
module.exports = {
name: "menu",
description: "Show command list",
aliases: ["start", "help"],
async execute(msg, args, client) {
try {
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) {
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 {
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 }) {
/*
* RESTORE PLUGIN
* Choose which version to roll back to — no git required.
*/
const fs = require("fs");
const path = require("path");
const { react01 } = require("../lib/extra");
module.exports = {