Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaPanel/BaoTa
/ send_msg
Function
send_msg
script/shell_push.py:57–63 ·
view source on GitHub ↗
(channels, data)
Source
from the content-addressed store, hash-verified
55
56
57
def
send_msg(channels, data):
58
for
channel in channels.split(
','
):
59
try
:
60
obj = public.init_msg(channel)
61
obj.send_msg(data[
'msg'
])
62
except
:
63
pass
64
65
66
if
__name__ ==
'__main__'
:
Callers
1
push_msg
Function · 0.85
Calls
2
split
Method · 0.45
send_msg
Method · 0.45
Tested by
no test coverage detected