# Create a WeChat bot

## Environment variables

| Environment variables        |  Question   |  Description  |  Required |
| :--------   | :-----   | :---- |  :---- |
| `SBOT_WX_ACCEPT_FRIEND`        |    Auto accept frient request   |    Auto accept frient request. default `no`  | No |
| `SBOT_WX_IGNORE_GROUP`        |   Ignore message from group    |   Ignore message from group. default `no`  | No |

## Creating a WeChat bot

1. `sbot create -s`
3. Scan the QR code in terminal.