Skip to content

Commit

Permalink
Merge 43dfa04 into 6b89af3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko authored Aug 8, 2024
2 parents 6b89af3 + 43dfa04 commit f553219
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Processor/ProcessC2CMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func (p *Processors) ProcessC2CMessage(data *dto.WSC2CMessageData) error {
//sourece是源头频道
//GuildID := data.GuildID

if data.Author.ID == "" {
mylog.Printf("出现ID为空未知错误.%v\n", data)
}

//获取当前的s值 当前ws连接所收到的信息条数
s := client.GetGlobalS()
if !p.Settings.GlobalPrivateToChannel {
Expand Down
4 changes: 4 additions & 0 deletions Processor/ProcessGroupMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ func (p *Processors) ProcessGroupMessage(data *dto.WSGroupATMessageData) error {
var GroupID64 int64
var err error

if data.Author.ID == "" {
mylog.Printf("出现ID为空未知错误.%v\n", data)
}

if !config.GetStringOb11() {
if config.GetIdmapPro() {
//将真实id转为int userid64
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Gensokyo文档(施工中):[起步](/docs/起步-注册QQ开放平台&启动genso
## 特别鸣谢

- [`mnixry/nonebot-plugin-gocqhttp`](https://github.com/mnixry/nonebot-plugin-gocqhttp/): 本项目采用了mnixry编写的前端,并实现了与它对应的,基于qq官方api的后端api.
- 感谢 Parker Liang 提供的技术指导和支持.
- 特别鸣谢[`dk 盾`](https://www.dkdun.cn/),友情赞助服务器资源

### 接口

Expand Down

0 comments on commit f553219

Please sign in to comment.