mirror of
https://github.com/urbit/shrub.git
synced 2025-01-01 17:16:47 +03:00
push-hook: add %kick poke
This commit is contained in:
parent
208c62c51d
commit
698e79a1e4
7
pkg/arvo/gen/kick.hoon
Normal file
7
pkg/arvo/gen/kick.hoon
Normal file
@ -0,0 +1,7 @@
|
||||
:: Kick subs
|
||||
:- %say
|
||||
|= $: [now=@da eny=@uvJ bec=beak]
|
||||
~
|
||||
~
|
||||
==
|
||||
[%kick %kick]
|
@ -271,6 +271,10 @@
|
||||
~/ %on-poke
|
||||
|= [=mark =vase]
|
||||
^- (quip card:agent:gall agent:gall)
|
||||
?: =(mark %kick)
|
||||
?> (team:title [our src]:bowl)
|
||||
:_ this
|
||||
(kick:io (turn ~(val by sup.bowl) tail))^~
|
||||
?: =(mark %push-hook-action)
|
||||
?> (team:title our.bowl src.bowl)
|
||||
=^ cards state
|
||||
|
Loading…
Reference in New Issue
Block a user