Code Monkey home page Code Monkey logo

Comments (3)

yuudi avatar yuudi commented on August 16, 2024

提示qq版本过低是因为触发了滑动验证码,新版本的gocqhttp可以处理。但是新版gocqhttp有时候会出现 closed network error导致无法登录,所以一键脚本一直在用旧版本,这个问题暂时无法解决。

from yobot.

danteehome avatar danteehome commented on August 16, 2024

如果有遇到这个问题的朋友,我自己封包了最新版的go-cqhttp文件.
过程是
1.安装go-lang(官网教程), 版本最新版1.15 不要忘记添加proxy否则会调用失败(
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct)
2. git clone gocqhttp解压
3. 在main.go文件夹执行 go build -ldflags "-s -w -extldflags '-static'"(代码来源:地河佬)
4. 会生成一个新的go-cqhttpbuild.替代掉旧版的就可以了.

from yobot.

yuudi avatar yuudi commented on August 16, 2024

如果有遇到这个问题的朋友,我自己封包了最新版的go-cqhttp文件.
过程是
1.安装go-lang(官网教程), 版本最新版1.15 不要忘记添加proxy否则会调用失败(
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct)
2. git clone gocqhttp解压
3. 在main.go文件夹执行 go build -ldflags "-s -w -extldflags '-static'"(代码来源:地河佬)
4. 会生成一个新的go-cqhttpbuild.替代掉旧版的就可以了.

新版本的gocqhttp可以在go-cqhttp github下载,新版本的docker镜像也可以从pcrbot/gocqhttp:latest拉取,不过配置文件有所改变需要重新配置。而且有时候会出现closed network error,暂时没有解决方法。

from yobot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.