shrub/pkg/landscape/lib/hark/chat-hook.hoon

31 lines
428 B
Plaintext
Raw Normal View History

2020-11-05 05:23:34 +03:00
/- sur=hark-chat-hook
^?
=< [. sur]
=, sur
|%
++ dejs
=, dejs:format
|%
++ action
%- of
:~ listen+pa
ignore+pa
set-mentions+bo
2020-11-05 05:23:34 +03:00
==
--
::
++ enjs
=, enjs:format
|%
++ update
|= upd=^update
%+ frond -.upd
?- -.upd
?(%listen %ignore) (path chat.upd)
%set-mentions b+mentions.upd
2020-11-05 08:33:52 +03:00
%initial a+(turn ~(tap in watching.upd) path)
2020-11-05 05:23:34 +03:00
==
--
--