Skip to content

Commit

Permalink
fix #1782
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrs4s committed Apr 2, 2023
1 parent 0f0e711 commit 749cde2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coolq/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ func (bot *CQBot) offlineFileEvent(c *client.QQClient, e *client.OfflineFileEven
}

func (bot *CQBot) joinGroupEvent(c *client.QQClient, group *client.GroupInfo) {
if group == nil {
return
}
log.Infof("Bot进入了群 %v.", formatGroupName(group))
bot.dispatch(bot.groupIncrease(group.Code, 0, c.Uin))
}
Expand Down

0 comments on commit 749cde2

Please sign in to comment.