diff --git a/TODO_045 b/TODO_045 index 011e7164..e69de29b 100644 --- a/TODO_045 +++ b/TODO_045 @@ -1,3 +0,0 @@ -Test all freetext args -Make form editing commands less verbose -Check /help groupings (add new commands) diff --git a/src/command/command.c b/src/command/command.c index 5726b49f..0fba4ee8 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -359,6 +359,16 @@ static struct cmd_t command_defs[] = "The affiliation may be one of owner, admin, member, outcast or none.", NULL } } }, + { "/affiliations", + cmd_affiliation, parse_args, 0, 0, NULL, + { "/affiliation set|list [affiliation] [jid] [reason]", "Manage room affiliations.", + { "/affiliation set|list [affiliation] [jid] [reason]", + "--------------------------------------------------", + "set affiliation jid [reason]- Set the affiliation of user with jid, with an optional reason.", + "list [affiliation] - List all users with the specified affiliation, or all if none specified.", + "The affiliation may be one of owner, admin, member, outcast or none.", + NULL } } }, + { "/role", cmd_role, parse_args_with_freetext, 1, 4, NULL, { "/role set|list [role] [nick] [reason]", "Manage room roles.",