MCPcopy Create free account
hub / github.com/6dylan6/jdm / notify

Method notify

function/common.js:39–46  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

37 console.log(`🔔${this.name}, 结束!\n`)
38 }
39 notify(array) {
40 let text = '';
41 for (let i of array) {
42 text += `${i.user} -- ${i.msg}\n`
43 }
44 console.log(`\n=============================开始发送提醒消息=============================`)
45 notify.sendNotify(this.name + "消息提醒", text)
46 }
47 wait(t) {
48 return new Promise(e => setTimeout(e, t))
49 }

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected