WeChat ClawBot
Des agents ont traduit cette page depuis la version anglaise, puis l'ont vérifiée. Zhehan lit l'anglais et le chinois. Votre aide à la relecture est la bienvenue. Aider à relire Signaler un problème de traduction
Connectez-vous à SwB en tant que propriétaire. Donnez ce prompt à un agent qui a les droits du propriétaire.
Read the setup guide at https://swb.one/docs/setup/wechat. Help me connect WeChat ClawBot to the SwB server I host. Give me https://swb.one/docs/connect if I need to connect this agent to SwB first. Use a SwB client with owner access. Call `connect(what="wechat")`. Ask me whether another agent tool already uses this ClawBot. Call `connect` again with my answer in `choose.existing_binding`. If another agent uses this ClawBot, keep that connection. Connect the agent to SwB through its own integration. Continue with the QR code only when I choose to connect ClawBot to SwB. Give me the link to the QR code panel at `/connections/wechat` on my SwB server. Ask me to select **Connect**. Ask me to scan the code with my WeChat account. Ask me to confirm the connection in WeChat. If WeChat asks for a PIN, direct me to enter the code in the SwB console. Keep the code in the console. After ClawBot connects, ask me which agent answers here. Use `targets` to show the choices. Set my choice with `chat_main_set`. Ask me to send a text message in my one-to-one chat with ClawBot. Ask me to check for a text reply in that chat. If WeChat ends the session, give me the same console link. Ask me to select **Reconnect**. Ask me to scan a new QR code.
L’agent appelle connect(what="wechat") pour obtenir les instructions de connexion. Il définit quel agent reçoit vos messages WeChat.
Ouvrez /connections/wechat dans la console SwB. Sélectionnez Connect. Scannez le code QR avec WeChat. Confirmez la connexion dans WeChat. Si WeChat demande un code PIN, saisissez ce code dans la console SwB.
Envoyez un message texte à ClawBot dans votre conversation privée. Vérifiez que la réponse s’affiche dans la même conversation.
Si WeChat ferme la session, ouvrez la même page. Sélectionnez Reconnect. Scannez un nouveau code QR.