提交 8e5f6992 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

code clean

上级 989b92b6
......@@ -102,6 +102,8 @@ export interface WechatyOptions {
ioToken? : string, // Io TOKEN
}
const PUPPET_MEMORY_NAME = 'puppet'
/**
* Main bot class.
*
......@@ -548,7 +550,7 @@ export class Wechaty extends Accessory implements Sayable {
}
const puppet = this.options.puppet || config.systemPuppetName()
const puppetMemory = this.memory.sub('puppet')
const puppetMemory = this.memory.sub(PUPPET_MEMORY_NAME)
const puppetInstance = await PuppetManager.resolve({
puppet,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册