(bots []T)
| 1554 | } |
| 1555 | |
| 1556 | func hasEnabledBots[T enabledBot](bots []T) bool { |
| 1557 | for _, bot := range bots { |
| 1558 | if bot.IsEnabled() { |
| 1559 | return true |
| 1560 | } |
| 1561 | } |
| 1562 | return false |
| 1563 | } |
| 1564 | |
| 1565 | func defaultQQBot() dto.AgentQQBotBot { |
| 1566 | return dto.AgentQQBotBot{ |
no test coverage detected