added evaluation of the allowed commands when executing help

added a note that a few commands are only available within a mod mail thread
This commit is contained in:
Sheldan
2020-05-12 00:45:13 +02:00
parent c234266b7b
commit 59c449f4d3
7 changed files with 72 additions and 33 deletions

View File

@@ -27,7 +27,7 @@ public class DurationMethod implements TemplateMethodModelEx {
* otherwise
* @param arguments The parameters passed to this method, should be only a single duration.
* @return The string representation of the {@link Duration} object
* @throws TemplateModelException
* @throws TemplateModelException In case the amount of parameters is not correct, or the first object was not a {@link Duration}
*/
@Override
public Object exec(List arguments) throws TemplateModelException {