1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 12:36:01 +00:00

updated all commands and removed some weird files

This commit is contained in:
MatteZ02
2019-08-14 15:26:33 +03:00
parent 29b40867a3
commit 9d7e55b5ee
1058 changed files with 170671 additions and 70 deletions

View File

@ -1,5 +1,4 @@
const YouTube = require("simple-youtube-api");
const youtube = new YouTube(process.env.API_KEY);
module.exports = {
name: 'play',
@ -8,6 +7,7 @@ module.exports = {
args: true,
cooldown: 3,
async execute(message, args, client, RichEmbed) {
const youtube = new YouTube(client.config.apikey);
const searchString = args.slice(1).join(" ");
const url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : "";
const serverQueue = client.queue.get(message.guild.id);