mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
ima trying
This commit is contained in:
parent
9e7fa92368
commit
0078d8e80e
1 changed files with 3 additions and 1 deletions
|
@ -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":
|
||||||
|
|
Loading…
Reference in a new issue