From f23082f035fe06ae31a9bbbbfbf82c80ccad65c5 Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Fri, 2 Aug 2019 20:22:07 +0300 Subject: [PATCH] Update p.js --- commands/p.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/p.js b/commands/p.js index aca4fd5a..989c2414 100644 --- a/commands/p.js +++ b/commands/p.js @@ -1,5 +1,5 @@ const YouTube = require("simple-youtube-api"); -const youtube = new YouTube("AIzaSyBPFfx6Kq2Nvn9lpB_M2T2Y6V2N-8K9Uvo"); +const youtube = new YouTube(process.env.API_KEY); module.exports = { name: 'p', @@ -61,4 +61,4 @@ module.exports = { return client.handleVideo(video, message, voiceChannel); } } -}; \ No newline at end of file +};