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