MCPcopy Create free account
hub / github.com/chavyleung/scripts / showmsg

Function showmsg

ithome/ithome.js:102–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102function showmsg() {
103 return new Promise((resolve) => {
104 $.subt = `签到:${$.result}`;
105 $.desc = [];
106 if ($.signinfo) {
107 $.desc.push(
108 `连续:${$.signinfo.cdays}天,累计:${$.signinfo.mdays}天,金币:${$.signinfo.totalcoin}个`
109 );
110 }
111 $.msg($.name, $.subt, $.desc.join("\n"));
112 resolve();
113 });
114}
115
116function gekk(S) {
117 const Skey =

Callers 1

ithome.jsFile · 0.70

Calls 1

msgMethod · 0.45

Tested by

no test coverage detected