call getMemberCommandInfo in parseMemberCommand

This commit is contained in:
Aster Fialla
2026-02-20 11:33:16 -05:00
parent 8f6ae668b0
commit 56d7f7d1fa

View File

@@ -30,7 +30,8 @@ mh.parseMemberCommand = async function (authorId, authorFull, args, attachmentUr
} }
switch (args[0]) { switch (args[0]) {
case '--help': case '--help':
return enums.help.MEMBER; case '':
return mh.getMemberCommandInfo();
case 'new': case 'new':
return await mh.addNewMember(authorId, args, attachmentUrl).catch((e) => { return await mh.addNewMember(authorId, args, attachmentUrl).catch((e) => {
throw e throw e
@@ -54,8 +55,6 @@ mh.parseMemberCommand = async function (authorId, authorFull, args, attachmentUr
return await mh.getAllMembersInfo(authorId, authorFull).catch((e) => { return await mh.getAllMembersInfo(authorId, authorFull).catch((e) => {
throw e throw e
}); });
case '':
return enums.help.MEMBER;
} }
switch (args[1]) { switch (args[1]) {
case 'name': case 'name':