From 0afc33e9c36695feee9bee979fa7706b6bac8a12 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 27 Mar 2022 21:34:23 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B8=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Music/createplaylist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/Music/createplaylist.js b/commands/Music/createplaylist.js index 86fdc036..9c8aa811 100644 --- a/commands/Music/createplaylist.js +++ b/commands/Music/createplaylist.js @@ -17,6 +17,7 @@ class CreatePlaylist extends Command { } async run(message, args, data) { + if (!args) return message.error("music/createplaylist:NO_NAME"); args = args.join(" ").split(" | "); const name = args[0];