mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-14 20:15:28 +10:00
call getMemberCommandInfo in parseMemberCommand
This commit is contained in:
@@ -30,7 +30,8 @@ mh.parseMemberCommand = async function (authorId, authorFull, args, attachmentUr
|
||||
}
|
||||
switch (args[0]) {
|
||||
case '--help':
|
||||
return enums.help.MEMBER;
|
||||
case '':
|
||||
return mh.getMemberCommandInfo();
|
||||
case 'new':
|
||||
return await mh.addNewMember(authorId, args, attachmentUrl).catch((e) => {
|
||||
throw e
|
||||
@@ -54,8 +55,6 @@ mh.parseMemberCommand = async function (authorId, authorFull, args, attachmentUr
|
||||
return await mh.getAllMembersInfo(authorId, authorFull).catch((e) => {
|
||||
throw e
|
||||
});
|
||||
case '':
|
||||
return enums.help.MEMBER;
|
||||
}
|
||||
switch (args[1]) {
|
||||
case 'name':
|
||||
|
||||
Reference in New Issue
Block a user