文件
ChatBot/BBS.js
2020-04-20 13:11:59 +08:00

24 行
695 B
JavaScript

"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 });
//BBS.js => 提供一个论坛机制
const Core = __importStar(require("./Core"));
(() => {
var BBSCore = {
GetUserPermission: ((User, BBS) => {
return;
}),
};
Core.AddListener((connect, info) => {
if (info.raw_message.substr(0, 3) != "BBS") {
return;
}
});
})();