-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎么切换默认的Puppet呢,默认没配置使用的PuppetWechat4u #2682
Comments
To switch from
Ensure any specific configurations required by the new puppet are correctly set up as per its documentation. For the feature of automatically accepting group invitations, this is supported by the Wechaty SDK and should work with any supported puppet, leveraging the
|
根据文档我这个默认的4u很多功能都不支持,于是想要更换
|
To switch your Wechaty puppet to
import { WechatyBuilder } from 'wechaty';
const token = 'your_wechaty_puppet_service_token_here'; // Replace with your actual token
const wechaty = WechatyBuilder.build({
name: 'YourBotName',
puppet: 'wechaty-puppet-service',
puppetOptions: {
token: token,
},
});
wechaty.start()
.then(() => console.log('Bot started.'))
.catch((error) => console.error('Bot failed to start:', error));
This setup requires Wechaty version
|
我使用import { WechatyBuilder } from 'wechaty';的时候不配置token也能使用呀,还有就是有没有其他免费的呢,要不然token都要收费长时间用不起@dosu. |
You can indeed use Regarding free alternatives for using Wechaty without a subscription-based token, while the official documentation might not explicitly list free services, you can generate a temporary, "insecure" token using the For generating and using this token, specific conditions or requirements must be met, such as specifying the puppet provider and ensuring internet accessibility. These details are crucial for successfully integrating and using the token with your Wechaty bot. If you're looking for a more permanent, free solution for a Wechaty puppet service, it's worth exploring community resources or asking within the Wechaty community for recommendations. The community might offer insights into alternative setups or providers that could meet your needs without incurring costs.
|
怎么切换默认的Puppet呢,默认没配置使用的PuppetWechat4u,但是PuppetWechat4u满足不了我想要的自动同意入群邀请功能,我想要切换成PuppetPadchat 或者PuppetPadPro,我尝试了一下,一直有报错
The text was updated successfully, but these errors were encountered: