shrub/gen/hood/invite.hoon
Anton Dyudin 530beef96b Merge branch 'cc-release' into cc-merge
Conflicts:
	arvo/eyre.hoon
2016-11-14 14:04:46 -08:00

18 lines
373 B
Plaintext

:: Womb: allocate urbits to the holder of an email
::
:::: /hoon/invite/hood/gen
::
/? 310
::
::::
::
/+ womb
:- %say
|= $: {now/@da eny/@uvJ bec/beak}
{{who/@t $~} sta/@}
==
:- %womb-invite
^- {cord invite}:womb
=+ inv=(scot %uv (end 7 1 eny))
[inv [who 10 sta "You have been invited to Urbit: {(trip inv)}" "This is an invite of 10 planets"]]