feat: added help command

This commit is contained in:
Felipe M 2025-06-13 12:04:07 +02:00
parent 4fc5ae63a1
commit bd9854676d
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
10 changed files with 414 additions and 7 deletions

View file

@ -23,6 +23,11 @@ func NewLoquito() *LoquitoPlugin {
}
}
// GetHelp returns the plugin help text
func (p *LoquitoPlugin) GetHelp() string {
return ""
}
// OnMessage handles incoming messages
func (p *LoquitoPlugin) OnMessage(msg *model.Message, config map[string]interface{}, cache model.CacheInterface) []*model.MessageAction {
if !strings.Contains(strings.ToLower(msg.Text), "lo quito") {