Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
获取up的时候提示订阅用户id
Browse files Browse the repository at this point in the history
  • Loading branch information
bypanghu committed Jun 1, 2021
1 parent 4793d53 commit 395d52c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ func main() {
b.SendGroupTextMsg(packet.FromGroupID, "本群没有订阅UP主")
return
}
for mid, v1 := range c.BiliUps {
ups += fmt.Sprintf("%d - %s\n", mid, v1.Name)
for mid, v1 := range c.BiliUps {
ups += fmt.Sprintf("%d - %s -订阅者 -%d\n", mid, v1.Name, v1.UserId)
}
b.SendGroupTextMsg(packet.FromGroupID, ups)

Expand Down Expand Up @@ -551,7 +551,7 @@ func main() {
return
}
for mid, v1 := range c.Fanjus {
ups += fmt.Sprintf("%d - %s\n", mid, v1.Title)
ups += fmt.Sprintf("%d - %s-订阅用户为:\n", mid, v1.Title,v1.UserId)
}
b.SendGroupTextMsg(packet.FromGroupID, ups)

Expand Down

0 comments on commit 395d52c

Please sign in to comment.