akiori / wechat-bot

a prototype of wechat bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wechat Bot

Usage

  • install docker
  • cd wechat_bot folder
  • run following code
$ docker run -ti --rm --volume="$(pwd)":/bot zixia/wechaty FILENAME

Tips for docker Windows users

  • In Windows OS, you may come across 'firewall detected' if your project is located in other drives.
  • The solution is (in Powershell commands (run as administrator))
C:\WINDOWS\system32 > Disable-NetAdapterBinding -Name "vEthernet (DockerNAT)" -ComponentID ms_server
C:\WINDOWS\system32 > Enable-NetAdapterBinding -Name "vEthernet (DockerNAT)" -ComponentID ms_server

About

a prototype of wechat bot.


Languages

Language:TypeScript 100.0%