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

@@ -17,6 +17,10 @@ type actionManager struct {
botConn *websocket.Conn
}
func (am *actionManager) Started() bool {
return am.botConn != nil
}
func (am *actionManager) SetConn(conn *websocket.Conn) {
am.botConn = conn
}