If a module only needs one parameter, e.g. chmgr create_area -name MyArea, the user should be able to omit -name as it is clear from context which parameter is meant. This would make many commands way more intuitive and easier to use.
bot.api.parse_message could return just the parameter value if it detects no explicit parameter name. This could then directly be used by the module functions as they know how many parameters they need.
If a module only needs one parameter, e.g.
chmgr create_area -name MyArea
, the user should be able to omit-name
as it is clear from context which parameter is meant. This would make many commands way more intuitive and easier to use.bot.api.parse_message
could return just the parameter value if it detects no explicit parameter name. This could then directly be used by the module functions as they know how many parameters they need.