(bots []dto.AgentDiscordBot)
| 1530 | } |
| 1531 | |
| 1532 | func getDiscordBotAccountIDs(bots []dto.AgentDiscordBot) []string { |
| 1533 | accountIDs := make([]string, 0, len(bots)) |
| 1534 | for _, bot := range bots { |
| 1535 | accountIDs = append(accountIDs, bot.AccountID) |
| 1536 | } |
| 1537 | return accountIDs |
| 1538 | } |
| 1539 | |
| 1540 | func setTelegramDefaultFlags(bots []dto.AgentTelegramBot, defaultAccount string) { |
| 1541 | for i := range bots { |
no outgoing calls
no test coverage detected