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

Function defaultFeishuBot

agent/app/service/agents_channels.go:1576–1587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1574}
1575
1576func defaultFeishuBot() dto.AgentFeishuBot {
1577 return dto.AgentFeishuBot{
1578 AgentChannelBotBase: dto.AgentChannelBotBase{
1579 AccountID: "default",
1580 Name: "Default",
1581 Enabled: true,
1582 IsDefault: true,
1583 },
1584 DmPolicy: "pairing",
1585 AllowFrom: []string{},
1586 }
1587}
1588
1589func getDefaultFeishuBot(bots []dto.AgentFeishuBot) dto.AgentFeishuBot {
1590 for _, bot := range bots {

Callers 2

extractFeishuConfigFunction · 0.85
getDefaultFeishuBotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected