Z4HD / coolq-telegram-bot-docker

使用Docker容器化的QQ和Telegram的消息互转机器人。Source: jqqqqqqqqqq/coolq-telegram-bot
GNU General Public License v3.0
20 stars 1 forks source link

readme.md #3

Open billchenchina opened 6 years ago

billchenchina commented 6 years ago

有个小问题,您的镜像在正式运行前没有将 coolq 的 http api 的 webhook 设置好(也就是说 coolq 收到消息后并不会传送给 bot),然而这个问题需要 手动解决,所以希望在 readme.md 上加上关于这个 hook 的解决方案。

首次运行时需要在 vnc 端将 coolq 手动停止,并将/home/username/coolq/app/io.github.richardchien.coolqhttpapi/config.cfg 修改为

[general]
host=0.0.0.0
port=5700
use_http=yes
ws_host=0.0.0.0
ws_port=5700
use_ws=no
post_url=http://127.0.0.1:8080
access_token=very
secret=long
post_message_format=array
serve_data_files=no
update_source=https://raw.githubusercontent.com/richardchien/coolq-http-api-release/master/
update_channel=stable
auto_check_update=no
auto_perform_update=no
thread_pool_size=4
server_thread_pool_size=1

后重新启动coolq。

Z4HD commented 6 years ago

或许您的意思是在镜像中附带修改过的CQ HTTP 配置文件?不过我在之前的部署过程中貌似并没有遇到与Web hook有关的问题。说实话我并不清楚如何针对这个问题撰写README。


我会很高兴的看到您将您的想法变成一个Pull Request