You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
578 B
21 lines
578 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
// import * as SphinxBot from '../../../sphinx-bot'
|
|
const SphinxBot = require("sphinx-bot");
|
|
const MotherBot = require("./mother");
|
|
function init() {
|
|
MotherBot.init();
|
|
}
|
|
exports.init = init;
|
|
function builtinBotEmit(msg) {
|
|
SphinxBot._emit('message', {
|
|
channel: {
|
|
id: msg.chat.uuid,
|
|
send: function () { },
|
|
},
|
|
content: msg.message.content,
|
|
type: msg.type,
|
|
});
|
|
}
|
|
exports.builtinBotEmit = builtinBotEmit;
|
|
//# sourceMappingURL=index.js.map
|