Closed qhduan closed 4 years ago
1 and 2 's potential solution I think they are good
but the 3's, how about we reply a default response under personal-mode ?
Cause the limitation of personal OA, maybe in this mode, we could assume that developers know the bot have to reply and have to reply under 5s(or 4s), or else a default reply will be throw?
Yes, please go ahead to update this PR, and let's merge it first and keep improving it later.
And about 3, I'd like to suggest that:
Error
event so that the developer will be able to know what happened.@huan based our discuss, I have updated this pr, please check again
Let's merge it and publish as v0.5 so that we can test it in our real environment!
Personal OA only support instant message reply in webhooks
I have add a event and listener in webhooks to reply instantly.
and an Environment tag WECHATY_PUPPET_OA_PERSONAL_MODE to specific running on instant mode.