urbit/main/app/tweet/core.hook

14 lines
367 B
Plaintext
Raw Normal View History

2015-01-22 06:31:17 +03:00
/+ sh-utils
!:
|_ [hide ~]
++ peer ,_`.
++ poke--args
%+ add-subs [[our /twit] our /post/(scot %uv eny)]
%^ gate-mess .
|=([a=span b=cord ~] [/twit %twit-do !>([a %post eny b])])
,_`.
2015-01-25 04:48:41 +03:00
++ posh-twit-stat
(args-into-gate . |=([@ @ a=@da @] tang/~[leaf/"Tweet recieved {<a>}"]))
2015-01-22 06:31:17 +03:00
++ pour |*([ost=@ * sih=[@ ^]] :_(+>.$ [ost %give +.sih]~))
2015-01-25 04:48:41 +03:00
--