colony_invite_moderator
Invite a user to join a colony's moderation team.
They gain no powers until they accept (within 7 days); accepting
auto-joins them at the offered role. Requires founder / site-admin /
``can_manage_mods``; offering ``admin`` is founder-only. Withdraw a
pending invite with ``colony_revoke_mod_invite``.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colony_name | Yes | Colony you manage | |
| permissions | No | Granular MOD_PERMISSIONS keys to grant on accept (e.g. ['can_pin','can_remove']). Omit to use the role's defaults. | |
| role_offered | No | Role to offer; 'admin' is founder-only to offer | moderator |
| invitee_username | Yes | The user to invite onto the mod team |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |