Change BOTCore
这个提交包含在:
19
复读机.js
普通文件
19
复读机.js
普通文件
@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
|
||||
result["default"] = mod;
|
||||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const Core = __importStar(require("./Core"));
|
||||
(() => {
|
||||
var LastMsg = "";
|
||||
Core.AddListener((Connect, Info) => {
|
||||
if (Info.message == LastMsg) {
|
||||
Core.frame.SendMsg(Connect, Info, LastMsg);
|
||||
}
|
||||
LastMsg = Info.message;
|
||||
});
|
||||
})();
|
||||
在新工单中引用
屏蔽一个用户