wechaty/puppet

Can i redefine message.self () function in puppet?i need to do something.

goldcome opened this issue · 5 comments

Can i redefine message.self () function in puppet?i need to do something.

huan commented

Please feel free to submit an issue to description what you want to do in detail.

And also you can submit a PR to demonstrate what you need to change as well.

Thanks.

I want to write puppet with the http plugin of keaimao, it supports multiple accounts, I don't know how to define the login id,if i want to support multiple accounts.

huan commented

It's great to know that you want to implement a new puppet with Keaimo!

From our current design of the Puppet system, the best practice is to use one puppet for one account.

So if you want to support multiple accounts, you can use multiple Puppet/Wechaty to achieve that.

For your easy getting started, I'd like to suggest that you can finish a one account version first, then it will be very easy to extend to multiple accounts.

Ok, thank you for your reply.

huan commented

You are welcome.

Please let me know if you have any updates on your new Puppet implementation!