fix: support kick cron

This commit is contained in:
Vaala Cat
2023-06-19 19:54:47 +08:00
parent c278b3f516
commit 7bd7e940ba
5 changed files with 30 additions and 13 deletions

View File

@@ -80,12 +80,12 @@ func onSystemMsg(msg chat.Message, overlay bool) error {
logrus.Error("user join error ", err)
break
}
go HandleJoinGame(userName)
go HandleJoinGame(userName, true)
default:
break
}
m := tgbotapi.NewMessage(conf.GetBotSettings().GroupID, fmt.Sprintf("%v", msg))
conf.Bot.Send(m)
// m := tgbotapi.NewMessage(conf.GetBotSettings().GroupID, fmt.Sprintf("%v", msg))
// conf.Bot.Send(m)
}()
return nil
}