MCPcopy Create free account
hub / github.com/Semporia/Scripts / showMsg

Function showMsg

jd_gold_creator.js:88–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 }
87}
88function showMsg() {
89 return new Promise(resolve => {
90 if ($.beans) {
91 message += `本次运行获得${$.beans}京豆`
92 $.msg($.name, '', `【京东账号${$.index}】${$.UserName || $.nickName}\n${message}`);
93 }
94 resolve()
95 })
96}
97async function getDetail() {
98 $.subTitleInfos = $.subTitleInfos.filter(vo => !!vo && vo['hasVoted'] === '0');
99 for (let item of $.subTitleInfos) {

Callers 1

mainFunction · 0.70

Calls 1

msgMethod · 0.45

Tested by

no test coverage detected