ima trying

This commit is contained in:
JonnyBro 2021-12-25 16:37:22 +05:00
parent 9e7fa92368
commit 0078d8e80e

View file

@ -25,7 +25,9 @@ class Activity extends Command {
if (!perms.has("CONNECT") || !perms.has("SPEAK")) return message.error("music/play:VOICE_CHANNEL_CONNECT"); 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 activities = ["awkword", "betrayal", "checkers", "chess", "doodlecrew", "fishing", "lettertile", "poker", "spellcast", "wordsnack", "puttparty", "youtube"];
const activity = args[0] != null ? args[0].toLowerCase() : null; const activity = "";
if (args[0] === "") activity = args[0];
else activity = args[0].toLowerCase();
switch (activity) { switch (activity) {
case "awkword": case "awkword":