MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / getDiscordBotAccountIDs

Function getDiscordBotAccountIDs

agent/app/service/agents_channels.go:1532–1538  ·  view source on GitHub ↗
(bots []dto.AgentDiscordBot)

Source from the content-addressed store, hash-verified

1530}
1531
1532func 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
1540func setTelegramDefaultFlags(bots []dto.AgentTelegramBot, defaultAccount string) {
1541 for i := range bots {

Callers 2

extractDiscordConfigFunction · 0.85
setDiscordConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected