Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions skills/wechat-channel/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Written for a bot that connects itself; a person can follow it too. The bot gets
{ "id": "wechat", "type": "wechat", "secrets": "~/.pots/secrets/wechat-<your bot ID>.env" }
```
It connects within a few seconds. `pots status` lists it; if it fails, the reason is in `bot.json.error`.
Then ask the person, where you sent them the QR code, to write to you once in WeChat. Until their first message, WeChat may take what you send and still not show it to them: on 2026-12-04 a greeting sent right after binding got a message ID and never arrived.
5. When WeChat ends the login (ret -14, "session timeout", in a send's error or in the gateway's output), the person binds again: run login.mjs with the same env file. The channel takes up the new login within seconds, with no restart.

Do not put the token in a chat message, a log or any other file, and do not run two programs with one login: each poll takes the messages away from the other.
Expand Down