forked from lxh/go-wxhelper
🐛 Fix a bug.
This commit is contained in:
parent
d0bba911ed
commit
e6198a88c1
@ -10,4 +10,4 @@ task:
|
|||||||
- '18958257758@chatroom'
|
- '18958257758@chatroom'
|
||||||
- '49448748645@chatroom'
|
- '49448748645@chatroom'
|
||||||
blacklist:
|
blacklist:
|
||||||
- 'wxid_7788687886912'
|
- 'wxid_778868788691exit2'
|
@ -5,6 +5,7 @@ import (
|
|||||||
"go-wechat/client"
|
"go-wechat/client"
|
||||||
"go-wechat/config"
|
"go-wechat/config"
|
||||||
"go-wechat/entity"
|
"go-wechat/entity"
|
||||||
|
"go-wechat/utils"
|
||||||
"log"
|
"log"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
@ -82,5 +83,5 @@ func dealYesterday(gid string) {
|
|||||||
notifyMsgs = append(notifyMsgs, " \n请未上榜的群友多多反思。")
|
notifyMsgs = append(notifyMsgs, " \n请未上榜的群友多多反思。")
|
||||||
|
|
||||||
log.Printf("排行榜: \n%s", strings.Join(notifyMsgs, "\n"))
|
log.Printf("排行榜: \n%s", strings.Join(notifyMsgs, "\n"))
|
||||||
//go utils.SendMessage(gid, "", strings.Join(notifyMsgs, "\n"), 0)
|
go utils.SendMessage(gid, "", strings.Join(notifyMsgs, "\n"), 0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user