fix: 修复各种问题

This commit is contained in:
lixiangwuxian
2024-11-08 00:43:06 +08:00
parent 033e1b041c
commit 978aa6a04e
3 changed files with 6 additions and 2 deletions

View File

@@ -177,7 +177,6 @@ func RoundCheckSteamPlaying() {
once := true
playingMap := map[int64]map[string]string{}
for {
time.Sleep(5 * time.Second)
groups, err := getAllGroupID()
if err != nil {
fmt.Println("获取群列表失败: ", err)
@@ -185,6 +184,7 @@ func RoundCheckSteamPlaying() {
}
for _, group := range groups {
time.Sleep(3 * time.Second)
if _, ok := playingMap[group]; !ok {
playingMap[group] = map[string]string{}
}