You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(matches.length===1){//is this the name we're looking for?
if(matches[0].username===part){
parts.splice(i+1,j-1);
parts[i]="@"+part;
}
}
}
else{
break;
}
part=part+" "+parts[i+j];
}
}
}
returnparts;
}
As part of the latest changes there is now a decorator for commands, which allows them to register the minimum user rank (and potentially other things), so this could allow for specifying options for the argument parser.
The argument parser has been implemented to be flexible and has options in order to adjust the parsing.
Wallace/coreplugins/plug/PlugMessage.js
Lines 18 to 100 in 28e450a
As part of the latest changes there is now a decorator for commands, which allows them to register the minimum user rank (and potentially other things), so this could allow for specifying options for the argument parser.
The text was updated successfully, but these errors were encountered: