@juzi/wechaty
Version:
Wechaty is a RPA SDK for Chatbot Makers.
15 lines • 764 B
JavaScript
import { EventEmitter } from 'events';
import * as PUPPET from '@juzi/wechaty-puppet';
const WECHATY_EVENT_DICT = {
...PUPPET.types.CHAT_EVENT_DICT,
dong: 'Should be emitted after we call `Wechaty.ding()`',
error: "Will be emitted when there's an Error occurred.",
heartbeat: 'Will be emitted periodically after the Wechaty started. If not, means that the Wechaty had died.',
puppet: 'Will be emitted when the puppet has been set.',
ready: 'All underlined data source are ready for use.',
start: 'Will be emitted after the Wechaty had been started.',
stop: 'Will be emitted after the Wechaty had been stopped.',
};
const WechatyEventEmitter = EventEmitter;
export { WechatyEventEmitter, };
//# sourceMappingURL=wechaty-events.js.map