1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-15 17:45:59 +00:00

fixed apikey

This commit is contained in:
MatteZ02
2019-11-01 14:37:31 +02:00
parent 2d8143cea5
commit 176960fa24
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ module.exports = {
cooldown: 3,
onlyDev: false,
async execute(message, args, client, Discord, prefix) {
const youtube = new YouTube(client.config.apikey);
const youtube = new YouTube(client.config.api_key);
const searchString = args.slice(1).join(" ");
const url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : "";
const serverQueue = client.queue.get(message.guild.id);