wechaty-face-carton
Version:
25 lines • 888 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const wechaty_1 = require("wechaty");
const index_js_1 = require("../src/index.js");
const name = 'wechat-carton';
const bot = wechaty_1.WechatyBuilder.build({
name,
puppet: 'wechaty-puppet-wechat',
puppetOptions: {
uos: true
}
});
bot
.use((0, index_js_1.WechatyFaceCartonPlugin)({
maxuser: 10,
secretId: 'AKIDY3PdgYWm97y673vMk41qdGiyABC8lVvF',
secretKey: 'JWildNmdR9g1AH9uxugLrGWdrvnUccTD',
allowUser: ['Leo_chen'],
allowRoom: ['测试1'],
quickModel: true,
tipsword: '卡通', // 私聊发送消息,触发照片卡通化提示 如果直接发送图片,默认进入图片卡通化功能,不填则当用户初次发送文字消息时不做任何处理
}));
bot.start()
.catch((e) => console.error(e));
//# sourceMappingURL=index.template.js.map