use the full module name as puppet name

This commit is contained in:
Huan LI
2018-08-10 01:03:38 +08:00
parent e0531b02bd
commit d160177574
3 changed files with 4 additions and 4 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

+4 -4
View File
@@ -4,10 +4,10 @@ const { Wechaty } = require('wechaty')
async function main() {
const botList = [
new Wechaty({ puppet: 'mock' }),
new Wechaty({ puppet: 'puppeteer' }),
new Wechaty({ puppet: 'padchat', puppetOptions: { token: 'smoke-testing' } }),
new Wechaty({ puppet: 'wechat4u' }),
new Wechaty({ puppet: 'wechaty-puppet-mock' }),
new Wechaty({ puppet: 'wechaty-puppet-puppeteer' }),
new Wechaty({ puppet: 'wechaty-puppet-padchat', puppetOptions: { token: 'smoke-testing' } }),
new Wechaty({ puppet: 'wechaty-puppet-wechat4u' }),
]
try {
for (const bot of botList) {