From 9e7fa92368e47b4e321a90cbad95908de3d78c68 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 25 Dec 2021 16:34:46 +0500 Subject: [PATCH] fix of fix --- commands/General/activity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/General/activity.js b/commands/General/activity.js index e986ca5b..ceaa4281 100644 --- a/commands/General/activity.js +++ b/commands/General/activity.js @@ -25,7 +25,7 @@ class Activity extends Command { if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT"); const activities = ["awkword", "betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "puttparty", "youtube"]; - const activity = args[0] ? args[0].toLowerCase() : ""; + const activity = args[0] != null ? args[0].toLowerCase() : null; switch (activity) { case "awkword":