added some cases to memberHelper for documentation and tweaked wording

This commit is contained in:
Aster Fialla
2026-02-13 21:30:22 -05:00
parent 01c747b5d5
commit 3c90bd04e0
2 changed files with 10 additions and 7 deletions

View File

@@ -12,9 +12,6 @@ const mh = {};
*/
mh.parseMemberCommand = async function(authorId, args){
console.log(authorId, args);
if (!args) {
return enums.help.MEMBER;
}
switch(args[0]) {
case '--help':
return enums.help.MEMBER;
@@ -22,6 +19,12 @@ mh.parseMemberCommand = async function(authorId, args){
return addNewMember(authorId, args);
case 'remove':
return removeMember(authorId, args);
case 'displayname':
return enums.help.DISPLAYNAME;
case 'proxy':
return enums.help.PROXY;
case '':
return enums.help.MEMBER;
}
switch(args[1]) {
case '--help':