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 +};