diff --git a/package.json b/package.json index 133d51fe..2c863198 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "erlpack": "github:discordapp/erlpack", "express": "^4.17.1", "firebase": "^7.14.2", - "firebase-admin": "^8.11.0", + "firebase-admin": "^8.12.0", "fs": "0.0.1-security", "genius-lyrics-api": "^2.0.3", "he": "^1.2.0", @@ -38,6 +38,7 @@ "prism-media": "github:hydrabolt/prism-media", "request": "^2.88.2", "simple-youtube-api": "^5.2.1", + "soundcloud-api-client": "0.0.9", "spotify-web-api-node": "^4.0.0", "utf-8-validate": "^5.0.2", "video-thumbnail-url": "^1.0.1", diff --git a/src/commands/soundcloud.js b/src/commands/soundcloud.js index 7a39fefd..f1a084c8 100644 --- a/src/commands/soundcloud.js +++ b/src/commands/soundcloud.js @@ -7,6 +7,7 @@ module.exports = { permission: "dev", category: "music", async execute(msg, args, client, Discord, prefix, command) { + if (!args[1]) return msg.channel.send(client.messages.noQuery); const SoundCloud = require("soundcloud-api-client"); const key = client.config.soundCloud_api_key; const soundcloud = new SoundCloud({ key });