MCPcopy
hub / github.com/eatmoreapple/openwechat / Prepare

Method Prepare

bot_login.go:53–57  ·  view source on GitHub ↗

Prepare 实现了 BotLoginOption 接口

(bot *Bot)

Source from the content-addressed store, hash-verified

51
52// Prepare 实现了 BotLoginOption 接口
53func (g BotOptionGroup) Prepare(bot *Bot) {
54 for _, option := range g {
55 option.Prepare(bot)
56 }
57}
58
59// OnError 实现了 BotLoginOption 接口
60func (g BotOptionGroup) OnError(b *Bot, err error) error {

Callers

nothing calls this directly

Calls 1

PrepareMethod · 0.65

Tested by

no test coverage detected