(array)
| 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 | } |