fix: 修复各种问题
This commit is contained in:
@@ -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{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user