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

Method constructor

jd_goodMorning.js:173–175  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

171 }
172 return new class {
173 constructor(t, e) {
174 this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`)
175 }
176 isNode() {
177 return "undefined" != typeof module && !!module.exports
178 }

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected