Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
func (*Bot) RegisterPlugin ¶
type Plugin ¶
type Plugin interface { OnGroupMessage(record *record.GroupMessageData) OnFriendMessage(record *record.FriendMessageData) Name() string Initiate(conf map[string]any, sender sender.Sender) }
type TestPlugin ¶
func (*TestPlugin) Name ¶
func (t *TestPlugin) Name() string
func (*TestPlugin) OnFriendMessage ¶
func (t *TestPlugin) OnFriendMessage(_ *record.FriendMessageData)
func (*TestPlugin) OnGroupMessage ¶
func (t *TestPlugin) OnGroupMessage(record *record.GroupMessageData)
Click to show internal directories.
Click to hide internal directories.