mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 23:36:21 +00:00
Added reason to role/affiliation changes
This commit is contained in:
@@ -348,22 +348,22 @@ static struct cmd_t command_defs[] =
|
||||
NULL } } },
|
||||
|
||||
{ "/affiliation",
|
||||
cmd_affiliation, parse_args, 1, 3, NULL,
|
||||
{ "/affiliation set|list [affiliation] [jid]", "Manage room affiliations.",
|
||||
{ "/affiliation set|list [affiliation] [jid]",
|
||||
"-----------------------------------------",
|
||||
"set affiliation jid - Set the affiliation of user with jid.",
|
||||
"list [affiliation] - List all users with the specified affiliation, or all if none specified.",
|
||||
cmd_affiliation, parse_args_with_freetext, 1, 4, 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, 1, 3, NULL,
|
||||
{ "/role set|list [role] [nick]", "Manage room roles.",
|
||||
{ "/role set|list [role] [nick]",
|
||||
"----------------------------",
|
||||
"set role nick - Set the role of occupant with nick.",
|
||||
"list [role] - List all occupants with the specified role, or all if none specified.",
|
||||
cmd_role, parse_args_with_freetext, 1, 4, NULL,
|
||||
{ "/role set|list [role] [nick] [reason]", "Manage room roles.",
|
||||
{ "/role set|list [role] [nick] [reason]",
|
||||
"-------------------------------------",
|
||||
"set role nick [reason] - Set the role of occupant with nick, with an optional reason.",
|
||||
"list [role] - List all occupants with the specified role, or all if none specified.",
|
||||
"The role may be one of moderator, participant, visitor or none.",
|
||||
NULL } } },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user